plot_specific_gene_exprs: Plot function for specific gene expression changes

Description Usage Arguments Examples

Description

Plotting function for specific genes of interest, along the pseudo development time.

Usage

1
2
plot_specific_gene_exprs(selected_gene, pseudotime, color_label,
  order = T)

Arguments

selected_gene

The enquired specific gene expression matrix, obtained from "get_specific_gene_exprs".

pseudotime

Pseudo development time

color_label

The cell type labels.

order

If order = T, gene expression change will be plotted against a uniform pseudo time. If order F, it will be plotted against the actual value of the calculated pseudo time.

Examples

1
2
3
4
cdk_gene_exprs <- get_specific_gene_exprs(full_gene_exprs_data, gene_name = "cdk11", type = "grep", organism = "mm")
plot_cdk <- plot_specific_gene_exprs(cdk_gene_exprs, redpath_pseudotime, color_label = cell_type_label, order = T)
require(scater)
multiplot(plotlist = plot_cdk, layout = matrix(c(1:2), 2, 1)) # For a total number of 2 plots

tinglab/redPATH documentation built on May 31, 2019, 10:37 a.m.