qdist: Quantile Distributions for One Dataset

Description Usage Arguments Details References See Also Examples

View source: R/qdist.R

Description

Make a plot showing quantile distributions for up- and down-regulated proteins.

Usage

1
  qdist(pdat, vars = c("ZC", "nH2O"), show.steps = FALSE)

Arguments

pdat

list, output of a pdat_ function for a single dataset

vars

character, which variables to plot

show.steps

logical, show the steps using plot.ecdf?

Details

This function makes a quantile distribution plot with lines for both up- and down-regulated proteins. The variable (var) can be ZC, H2O, or both (two plots are made for the latter). The horizontal axis is the variable and the vertical axis is the quantile point. A solid black line is drawn for the down-regulated proteins, and a dashed red line for the up-regulated proteins. The median difference is shown by a gray horizontal line drawn between the distributions at the 0.5 quantile point.

References

Jimenez, C. R. and Knol, J. C. and Meijer, G. A. and Fijneman, R. J. A. (2010) Proteomics of colorectal cancer: Overview of discovery studies and identification of commonly identified cancer-associated proteins and candidate CRC serum markers. J. Proteomics 73, 1873–1895. doi: 10.1016/j.jprot.2010.06.004

See Also

diffplot to plot median differences for multiple datasets.

Examples

1
2
3
# Plot the data of Jimenez et al., 2010 for colorectal cancer
pdat <- pdat_colorectal("JKMF10")
qdist()

canprot documentation built on Jan. 17, 2022, 9:06 a.m.