Description Usage Arguments Value
View source: R/mutationCalling.R
Identifies relevant mitochondrial somatic variants from raw counts of nucleotide frequencies measured in single cells from several individuals. Applies two sets of filters: In the first step, filters on coverage to include potentially noisy variants; in the second step, compares allele frequencies between patients to remove variants that were observed in several individuals and that therefore are unlikely to represent true somatic variants (e.g. RNA editing events). The blacklist derived from the MutaSeq dataaset is available in blacklist
and can be used on single individuals using mutationCallsFromBlacklist
1 2 3 4 5 6 7 8 9 10 | mutationCallsFromCohort(
BaseCounts,
patient,
MINREADS = 5,
MINCELL = 20,
MINFRAC = 0.1,
MINCELLS.PATIENT = 10,
MINRELATIVE.PATIENT = 0.01,
MINRELATIVE.OTHER = 0.1
)
|
BaseCounts |
A list of base call matrices (one matrix per cell) as produced by |
patient |
A character vector associating each cell / entry in the |
MINREADS |
Minimum number of reads on a site in a single cell to qualify the site as covered |
MINCELL |
Minimum number of cells across the whole data set to cover a site |
MINFRAC |
Fraction of reads on the mutant allele to provisionally classify a cell as mutant |
MINCELLS.PATIENT |
Minimum number of mutant cells per patient to classify the mutation as relevant in that patient, AND |
MINRELATIVE.PATIENT |
Minimum fraction of mutant cells per patient to classify the mutation as relevant in that patient |
MINRELATIVE.OTHER |
Minimum fraction of mutant cells identified in a second patient for the mutation to be excluded |
A list of mutationCalls
objects (one for each patient
) and an entry blacklist
containing a blacklist of sites with variants in several individuals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.