View source: R/mutationCalling.R
pullcountsVars | R Documentation |
Pull variant counts
pullcountsVars(BaseCounts, vars, cells = NULL)
BaseCounts |
A list of base call matrices (one matrix per cell)
as produced by |
vars |
Character vector of variants to pull, in format 5643G>T |
cells |
Character vector for cells to select, or NULL if all cells from the input are to be used |
A list with two entries, M (count table on the variant allele) and N (count table on the reference allele)
load(system.file("extdata/example_counts.Rda",package = "mitoClone2"))
known.variants <- c("9 T>C","12 G>A","13 G>A")
counts.known.vars <- pullcountsVars(example.counts, vars=known.variants)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.