individual_plots: Individual plotting function for genes

View source: R/fct_02_pre_process.R

individual_plotsR Documentation

Individual plotting function for genes

Description

Takes in the merged data and other data to provide plots on individual gene names. Depening on the selections this function will either return a barplot from the grouped data or a lineplot from the individual sample.

Usage

individual_plots(
  individual_data,
  sample_info,
  selected_gene,
  gene_plot_box,
  use_sd,
  lab_rotate,
  plots_color_select,
  plot_raw
)

Arguments

individual_data

Data that has been merged with the gene info

sample_info

Matrix of experiment design information for grouping samples

gene_plot_box

TRUE/FALSE for individual sample plot or grouped data plot

use_sd

TRUE/FALSE for standard error or standard deviation bars on bar plot

lab_rotate

Numeric value indicating what angle to rotate the x-axis labels

plots_color_select

Vector of colors for plots

select_gene

List of gene(s) to be plotted

Value

A ggplot object. For gene_plot_box = TRUE the return will be a lineplot for the expression of each individual sample for the selected gene. If gene_plot_box = FALSE the return will be a barplot for the groups provided in the sample information.

See Also

merge_data()

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

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


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