do.sdcd.boxplot: Represent sexual dimorphic data as boxplots.

Description Usage Arguments Author(s) References Examples

Description

Stratify and plot data by gender and by disease status.

Usage

1
do.sdcd.boxplot(marker, data, copd.bool, male.bool, symbol = marker, filename = paste(marker,".pdf",sep=""), take.log = FALSE)

Arguments

marker

Character string representing the name of the marker (e.g. Ensembl gene, VMR) to plot.

data

Data to be plot. E.g. gene expression or percent methylation.

copd.bool

Boolean array corresponding to the COPD subject columns of data.

male.bool

Boolean array corresponding to the male subject columns of data.

symbol

Gene symbol associated with the marker.

filename

File name. If NA, display plot on screen.

take.log

Boolean. If true, plot in log scale.

Author(s)

J Fah Sathirapongsausti

References

Sathirapongsasuti JF, Glass K, Huttenhower C, Quackenbush J, DeMeo DL. Integrative Genomics of Sexual Dimorphism in COPD. (In Prep).

Examples

1
2
3
4
5
6
	data(lgrc.sdcd.genes)
	data(lgrc.expr.meta)
	data(lgrc.expr)
	copd.bool = (expr.meta$diagmaj == "2-COPD/Emphysema")
	male.bool = (expr.meta$gender == "1-Male")
	do.sdcd.boxplot("ENSG00000182472", expr, copd.bool, male.bool, symbol="CAPN12", filename=NA)

COPDSexualDimorphism documentation built on Sept. 12, 2016, 6:09 a.m.