plot_read_biotype_dist_1: Plot read location distribution by biotype (and originating...

View source: R/riboseqc.R

plot_read_biotype_dist_1R Documentation

Plot read location distribution by biotype (and originating compartment)

Description

This function plots the read location distribution by biotype (and originating compartment) for one input sample.

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

Usage

plot_read_biotype_dist_1(pos, sample, output_rds_path = "")

Arguments

pos

res_all$read_stats$positions generated by RiboseQC_analysis.

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