plot_read_length_dist: Plot read length distribution

View source: R/riboseqc.R

plot_read_length_distR Documentation

Plot read length distribution

Description

This function plots the read length distribution per originating compartment for one input sample.

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

Usage

plot_read_length_dist(rld, sample, output_rds_path = "")

Arguments

rld

res_all$read_stats$rld generated by RiboseQC_analysis

data.frame containing the number of reads per originating compartment (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.