plot_metagene_hm: Plot 5'/P-site profiles (for all read lengths) as heatmap

View source: R/riboseqc.R

plot_metagene_hmR Documentation

Plot 5'/P-site profiles (for all read lengths) as heatmap

Description

This function plots a 5' or P-site profiles for all read lengths as heatmap (for a specific originating compartment, resolution type, and scaling method).

This plot is used in the Ribo-seQC report in section 4.1/4.3.

Usage

plot_metagene_hm(metagene_data, scal, sample = "",
  output_rds_path = "")

Arguments

scal

Scaling method: no scaling (none), log2 scaling (log2), or z scoring (zscore).

sample

String; sample name (selected from the input names iven 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.

data_profile

Profile data for a specific originating compartment and resolution type, generated using get_metagene_data.

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.