Description Usage Arguments Value See Also Examples
View source: R/helpers_filters.R
Very often alignments return deletions that are not real deletions, but
rather artifact of incomplete reads eg.:
1 2 | ACTGAAAAA------- <- this "deletion" should be filtered
ACTG----ACTGACTG
|
1 | findEOP(aln, cfgT)
|
aln |
(data.frame) Should contain events from alignments in GRanges style with columns eg. seqnames, width, start, end. |
cfgT |
(data.frame) Needs columns Forward_Primer, ReversePrimer and Amplicon. |
(logical vector) where TRUE indicates events that are overlapping primers
Other filters: findLQR
, findPD
1 2 3 4 5 6 7 | file_path <- system.file("extdata", "results", "alignments",
"raw_events.csv", package = "amplican")
aln <- data.table::fread(file_path)
cfgT <- data.table::fread(
system.file("extdata", "results", "config_summary.csv",
package = "amplican"))
findEOP(aln, cfgT)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.