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 ):
element AssayData to use for a given ExpressionSet input (default is "exprs") sample sampleNames 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 . feature featureData 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.bins num.steps mode show.avg main title . xlab title . ylab title . 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)