View source: R/helpers_general.R
getEvents | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.