mutationCallsFromMatrix: mutationCalls constructor

Usage Arguments

View source: R/classes.R

Usage

1
2
3
4
5
6
7
mutationCallsFromMatrix(
  M,
  N,
  cluster = NULL,
  metadata = data.frame(row.names = rownames(M)),
  binarize = 0.05
)

Arguments

M

A matrix of read counts mapping to the mutant allele. Columns are genomic sites and rows and single cells.

N

A matrix of read counts mapping to the referece allele. Columns are genomic sites and rows and single cells.

cluster

If NULL, only mutations with coverage in 20

\item

binarizeAllele frequency threshold to define a site as mutant (required for some clustering methods)

An object of class mutationCalls. To be used when allele-specific count matrices are available.


veltenlab/mitoClone documentation built on April 18, 2021, 5:19 a.m.