Parse Salmon fragment length file
character path to file usually named "flenDist.txt".
numeric used with caTools::runmean() to define the
width for smoothing a running mean, helpful to de-noise
the fragment length profile.
logical indicating whether to plot the data and
resulting values.
character vector with three colors used when
do_plot=TRUE: mean, median, mode.
additional arguments are passed to plot() when do_plot=TRUE.
numeric vector with summary values:
mean: the weighted mean across the fragment length distribution
median: the position with 50% cumulative density at or below
mode: the position with the highest density
each value in probs representing percentiles
value representing the weighted mean across the fragment lengths reported, typically values from 1 to 1000.
Other jam nextgen sequence functions:
get_salmon_meta(),
get_salmon_root(),
save_salmon_qc_xlsx()