consensusSeqs {CrispRVariants} | R Documentation |
Return consensus sequences of variant alleles. At present, chimeric alignments are not included.
consensusSeqs(obj, ...) ## S4 method for signature 'CrisprSet' consensusSeqs(obj, ..., top.n = NULL, min.freq = 0, min.count = 1)
obj |
An object containing aligned sequences |
... |
additional arguments |
top.n |
(Integer n) If specified, return variants ranked at least n according to frequency across all samples (Default: 0, i.e. no cutoff) |
min.freq |
(Float n least one sample (Default: 0) |
min.count |
(Integer n) Return variants with count greater than n in at least one sample (Default: 0) |
A DNAStringSet of consensus sequences on the positive strand.
Helen Lindsay
data("gol_clutch1") seqs <- consensusSeqs(gol, sample = 2)