rRNA_counts_ggplot: Creates a barplot of the count data by gene type

View source: R/fct_02_pre_process.R

rRNA_counts_ggplotR Documentation

Creates a barplot of the count data by gene type

Description

This function takes in either raw count or processed data and creates a formatted barplot as a ggplot object that shows the number of genes mapped to each sample in millions. This function is only used for read counts data.

Usage

rRNA_counts_ggplot(
  counts_data,
  sample_info,
  type = "",
  all_gene_info,
  plots_color_select
)

Arguments

counts_data

Matrix of raw counts from gene expression data

sample_info

Matrix of experiment design information for grouping samples

type

String designating the type of data to be used in the title. Commonly either "Raw" or "Transformed"

all_gene_info

Gene info, including chr., gene type etc.

plots_color_select

Vector of colors for plots

Value

A barplot as a ggplot object

See Also

Other preprocess functions: chr_counts_ggplot(), chr_normalized_ggplot(), eda_boxplot(), eda_density(), eda_scatter(), gene_counts_ggplot(), individual_plots(), mean_sd_plot(), pre_process(), total_counts_ggplot()

Other plots: PCA_plot(), chr_counts_ggplot(), chr_normalized_ggplot(), cor_plot(), draw_sample_tree(), eda_boxplot(), eda_density(), eda_scatter(), gene_counts_ggplot(), individual_plots(), k_means_elbow(), mean_sd_plot(), sd_density(), t_SNE_plot(), total_counts_ggplot()


espors/idepGolem documentation built on April 23, 2024, 1:11 p.m.