widedataframe2boxplot: Boxplot for wide data frame (normal gene expression table or...

View source: R/plot.R

widedataframe2boxplotR Documentation

Boxplot for wide data frame (normal gene expression table or OTU abundance table) used for estimating the overall distrbution of data.

Description

Boxplot for wide data frame (normal gene expression table or OTU abundance table) used for estimating the overall distrbution of data.

Usage

widedataframe2boxplot(widedataframe, saveplot = NULL, ylab = "", ...)

Arguments

widedataframe

A dataframe containing gene expression or OTU abundance with format like generated by generateAbundanceDF.

saveplot

Save plot to given file like "a.pdf", "b.png".

ylab

Y axis title.

...

Other parameters given to ggsave.

Value

A ggplot2 object.

Examples


df = generateAbundanceDF()
widedataframe2boxplot(df)

widedataframe2boxplot(df, saveplot="a.pdf", width=10, height=10, units=c("cm"))


Tong-Chen/ImageGP documentation built on April 14, 2025, 12:54 p.m.