plot_read_length_dist_by_biotype: Plot read length and location distribution (distribution per...

View source: R/riboseqc.R

plot_read_length_dist_by_biotypeR Documentation

Plot read length and location distribution (distribution per biotype)

Description

This funtion plots the read length distribution for each originating compartment as distribtion per biotype for one input sample (displayed as read count and as read count fraction).

This plot is used in the Ribo-seQC report in section 3.1.

Usage

plot_read_length_dist_by_biotype(reads_summary, sample,
  output_rds_path = "")

Arguments

reads_summary

res_all$read_stats$reads_summary generated by RiboseQC_analysis

List of DataFrames: one DataFrame for each originating compartment, each DataFrame contains read counts per biotype (rows) and read lengths (columns).

sample

String; sample name (selected from the input names given in the input_sample_names parameter of create_html_report).

output_rds_path

String; full path to output folder for RDS object files created by this function. Defaults to NOT save RDS; to save RDS, provide path to destination folder.

Value

This function returns a plot that can be integrated in the html report and that can be saved as RDS object file.

Author(s)

Dominique Sydow, dominique.sydow@posteo.de

See Also

create_html_report


ohlerlab/RiboseQC documentation built on Aug. 15, 2023, 7:30 a.m.