Description Usage Arguments Value See Also Examples
View source: R/helpers_filters.R
Will try to detect off-targets and low quality alignments (outliers). It
tries k-means clustering on normalized number of events per read and read
alignment score. If there are 3 clusters (decided based on silhouette
criterion) cluster with high event count and low alignment score will be
marked for filtering. When there is less than 1000
scores in aln
it will filter nothing.
1 | findLQR(aln)
|
aln |
(data.frame) Should contain events from alignments in GRanges style with columns eg. seqnames, width, start, end, score. |
(logical vector) where TRUE indicates events that are potential off-targets or low quality alignments.
Other filters: findEOP
, findPD
1 2 3 4 5 | file_path <- system.file("extdata", "results", "alignments",
"raw_events.csv", package = "amplican")
aln <- data.table::fread(file_path)
aln <- aln[seqnames == "ID_1"] # for first experiment
findLQR(aln)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.