refFromAlns {CrispRVariants} | R Documentation |
Reconstruct the reference sequence from alignments reads using the CIGAR
refFromAlns(alns, location, ...) ## S4 method for signature 'GAlignments,ANY' refFromAlns(alns, location, ..., keep.names = FALSE) ## S4 method for signature 'GAlignments,GRanges' refFromAlns(alns, location, ...)
alns |
Alignments to use for inferring the reference sequence |
location |
The location to infer the reference for. |
... |
additional arguments |
keep.names |
Should read names be added to the result if present? (Default: FALSE) |
The reference sequences corresponding to the provided alignments
A DNAStringSet (signature = c("GAlignments", "ANY"))
A DNAString (signature = c("GAlignments", "GRanges"))
Helen Lindsay