| plotBins {HELP} | R Documentation |
Plot densities of multiple bins of data, divided by a sliding window approach
plotBins(x, y, ...)
x |
the vector of numerical data to be plotted. If x is a matrix it is interpreted as a vector. x can also be of class "ExpressionSet". |
y |
an additional vector of numerical data to be used for binning. If y is a matrix it is interpreted as a vector. y can also be of class "ExpressionSet". |
... |
Arguments to be passed to methods (see plotBins-methods):
elementAssayData to use for a given ExpressionSet input (default is "exprs") samplesampleNames to use as data (default is 1). Can be a character matching a sample name or simply an integer indicating which sample to choose. See getSamples. featurefeatureData to use as binning variable (default is 1). Can be a character matching varLabel or simply an integer indicating which feature to choose. See getFeatures.num.binsnum.stepsmodeshow.avgmaintitle. xlabtitle. ylabtitle. na.rm...plot. See plot. |
Reid F. Thompson (rthompso@aecom.yu.edu)
plotBins-methods, density, quantile
#demo(pipeline,package="HELP") x <- 1:1000 y <- sample(1:50,size=1000,replace=TRUE) plotBins(x,y,show.avg=TRUE,main="Random binning data",xlab="1:1000") #rm(x,y)