Description Usage Arguments Examples
Composite Minor Allele Frequency (CLAF) Profile plot
1 2 |
r |
Alt allele count in single cells |
n.sc |
Coverage in single cells |
l |
Alt allele count in bulk |
n.bulk |
Coverage in bulk |
region |
Restrict plotting to select region. Optional. Default: NULL |
filter |
Boolean of whether to filter for SNPs with coverage. Default: TRUE |
delim |
Delimiter for names of SNPs as Chromosome[delim]Position. Default: ":" ex. chr1:283838897 |
gtf |
GTF file contents for mapping SNPs to genes. Required if plotGene = TRUE |
plotGene |
Boolean of whether to plot gene track. Default: FALSE |
1 2 3 4 5 6 7 8 9 | ## Single cell data
data(snpsHet_MM16ScSample)
## Bulk exome
data(snpsHet_MM16BulkSample)
# intersect
region <- data.frame('chr'=2, start=0, end=1e9) # deletion region
clafProfile(r, cov.sc, l, cov.bulk, region)
region <- data.frame('chr'=3, start=0, end=1e9) # neutral region
clafProfile(r, cov.sc, l, cov.bulk, region)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.