amplicanSummarize: Summarize how many reads have frameshift and how many reads...

Description Usage Arguments Details Value See Also Examples

View source: R/amplicanSummarize.R

Description

Before using this function make sure events are filtered to represent consensus with amplicanConsensus, if you use both forward and reverse reads. If you want to calculate metrics over expected cut site, filter events using amplicanOverlap.

Usage

1
amplicanSummarize(aln, cfgT)

Arguments

aln

(data.frame) Contains events from the alignments.

cfgT

(data.frame) Config file with the experiments details.

Details

Adds columns to cfgT:

Value

(data.frame) As cfgT, but with extra columns.

See Also

Other analysis steps: amplicanAlign, amplicanConsensus, amplicanFilter, amplicanMap, amplicanNormalize, amplicanOverlap, amplicanPipelineConservative, amplicanPipeline, amplicanReport

Examples

1
2
3
4
5
6
7
8
file_path <- system.file("extdata", "results", "alignments",
                         "events_filtered_shifted_normalized.csv",
                         package = "amplican")
aln <- data.table::fread(file_path)
cfgT <- data.table::fread(
  system.file("extdata", "results", "config_summary.csv",
              package = "amplican"))
amplicanSummarize(aln, cfgT)

amplican documentation built on Nov. 8, 2020, 11:10 p.m.