getEvents {amplican} | R Documentation |
Transforms aligned strings into GRanges representation with events of deletions, insertions and mismatches. Subject should come from one amplicon sequence, after alignment to many sequences (patterns).
getEvents( pattern, subject, scores, ID = "NA", ampl_shift = 1L, ampl_start = 1L, strand_info = "+" )
pattern |
(character) Aligned pattern. |
subject |
(character) Aligned subject. |
scores |
(integer) Alignment scores of the pattern and subject. |
ID |
(character) Will be used as seqnames of output GRanges. |
ampl_shift |
(numeric) Possible shift of the amplicons. |
ampl_start |
(numeric) Real amplicon starts.
|
strand_info |
(character) Strands to assign. |
(GRanges
) Same as events.