View source: R/report_helpers.R
alignmentFeatureStatistics | R Documentation |
Among others how much reads are in mRNA, introns, intergenic, and check of reads from rRNA and other ncRNAs. The better the annotation / gtf used, the more results you get.
alignmentFeatureStatistics(
df,
type = "ofst",
force = TRUE,
library.names = bamVarName(df),
BPPARAM = bpparam()
)
df |
an ORFik |
type |
a character(default: "default"), load files in experiment
or some precomputed variant, like "ofst" or "pshifted".
These are made with ORFik:::convertLibs(),
shiftFootprintsByExperiment(), etc.
Can also be custom user made folders inside the experiments bam folder.
It acts in a recursive manner with priority: If you state "pshifted",
but it does not exist, it checks "ofst". If no .ofst files, it uses
"default", which always must exists. |
force |
logical, default TRUE If TRUE, reload library files even if
matching named variables are found in environment used by experiment
(see |
library.names |
character vector, names of libraries, default: name_decider(df, naming) |
BPPARAM |
how many cores/threads to use? default: bpparam().
To see number of threads used, do |
a data.table of the statistcs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.