exprRidges: Ridges plot of all samples

View source: R/Visualization_check.R

exprRidgesR Documentation

Ridges plot of all samples

Description

Ridges plot of all samples

Usage

exprRidges(
  expr,
  group_list,
  palette = RColorBrewer::brewer.pal(3, "Set2")[1:2],
  main = "Density of gene expression",
  filename = NA,
  x = "Samples",
  y = "log2(cpm(count)+1)",
  height = 5,
  width = 8.3
)

Arguments

expr

a expression matrix

group_list

a character vector order by samples

palette

group palette

main

plot title

filename

file name you want to save plot

x

x axis title

y

y axis title

height

height of plot

width

width of plot

Value

a Ridges plot or a file

Examples

exprRidges(expr,group_list)

xiayh17/RNAseqStat2 documentation built on May 27, 2023, 12:13 p.m.