File: count_indel_contexts.Rd

package info (click to toggle)
r-bioc-mutationalpatterns 3.16.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,360 kB
  • sloc: sh: 8; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,303 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/count_indel_contexts.R
\name{count_indel_contexts}
\alias{count_indel_contexts}
\title{Count indel contexts}
\usage{
count_indel_contexts(vcf_list)
}
\arguments{
\item{vcf_list}{GRanges or GRangesList object containing indel mutations in which the context was added with get_indel_context.}
}
\value{
A tibble containing the number of indels per COSMIC context per gr.
}
\description{
Count indel contexts
}
\details{
Counts the number of indels per COSMIC context from a GRanges or GRangesList object containing indel mutations.
This function applies the count_indel_contexts_gr function to each gr in its input.
It then combines the results in a single tibble and returns this.
}
\examples{
## Get a GRangesList or GRanges object with indel contexts.
## See 'indel_get_context' for more info on how to do this.
grl_indel_context <- readRDS(system.file("states/blood_grl_indel_context.rds",
  package = "MutationalPatterns"
))

# Count the indel contexts
count_indel_contexts(grl_indel_context)
}
\seealso{
\code{\link{get_indel_context}}

Other Indels: 
\code{\link{get_indel_context}()},
\code{\link{plot_compare_indels}()},
\code{\link{plot_indel_contexts}()},
\code{\link{plot_main_indel_contexts}()}
}
\concept{Indels}