Description Usage Arguments Details Value Author(s) See Also Examples
Count singleton variants for each sample
1 2 | ## S4 method for signature 'SeqVarGDSClass'
countSingletons(gdsobj, use.names=FALSE)
|
gdsobj |
A |
use.names |
A logical indicating whether to assign variant IDs as names of the output vector. |
A singleton variant is a variant in which only one sample has a non-reference allele. For each sample, countSingletons
finds the number of variants for which that sample has the only non-reference allele.
A vector of the number of singleton variants per sample.
Stephanie Gogarten
SeqVarGDSClass
,
applyMethod
,
alleleFrequency
1 2 3 | gds <- seqOpen(seqExampleFileName("gds"))
head(countSingletons(gds))
seqClose(gds)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.