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

View source: R/riboseqc.R

plot_read_biotype_dist_by_lengthR Documentation

Plot read length and location distribution (distribution per read length)

Description

This funtion plots the biotype distribution for each originating compartment as distribtion per read length 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.2.

Usage

plot_read_biotype_dist_by_length(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.