Description Usage Arguments Value Author(s) References Examples
Calculate the cell-to-cell divergence matrix given variant allele read counts, total allele read counts, estimated mutations and sequencing error rate. This method accounts for transcriptional bursting and sequencing error with a Beta-Binomial framework. This function is linear with number of cells and number of mutations.
1 | DENDRO.dist(X, N, Z, epi = 0.01, show.progress = TRUE)
|
X |
An matrix contains variants allele read counts across cell (column) and loci (row). |
N |
An matrix contains total allele read counts across cell (column) and loci (row). |
Z |
An mutation indicator matrix (1 for mutation, 0 for normal) across cell (column) and loci (row). |
epi |
Sequencing error and rare RNA editing combined rate. Default 0.01 according to Illunima. |
show.progress |
Whether to show the divergence calculation programs. For large and diverse cell population, this function will take some time and we recommend tracking progress. |
'dist' returns an object of class '"dist"'. See https://www.rdocumentation.org/packages/stats/versions/3.5.1/topics/dist for more details
Zilu Zhou
https://www.rdocumentation.org/packages/stats/versions/3.5.1/topics/dist
1 2 3 | data("DENDRO_demo")
demo_qc = FilterCellMutation(demo$X,demo$N,demo$Z,demo$Info,demo$label)
dist = DENDRO.dist(demo_qc$X,demo_qc$N,demo_qc$Z,show.progress=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.