plotBins(HELP)
plotBins()所属R语言包:HELP
Plot bins
图箱
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plot densities of multiple bins of data, divided by a sliding window approach
图密度数据的多个垃圾桶,除以一个滑动窗口方法
用法----------Usage----------
plotBins(x, y, ...)
参数----------Arguments----------
参数: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".
数值数据的矢量绘制。 x如果是它被解释为向量的矩阵。 x类"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".
额外的数值数据向量,可用于分级。 y如果是它被解释为向量的矩阵。 y类"ExpressionSet"也可以。
参数:...
Arguments to be passed to methods (see plotBins-methods):
被传递到方法的参数(见plotBins-methods):
element which element of AssayData to use for a given ExpressionSet input (default is "exprs")
element元素AssayData使用一个给定的ExpressionSet输入(默认为"exprs")
sample which element of 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.
sample元素sampleNames使用的数据(默认为1)。可以是一个字符匹配的样品名称或仅仅是一个整数,指示选择的样品。看到getSamples。
feature which element of 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.
featurefeatureData作为分级变量(默认为1)使用的元素。可以是一个匹配varLabel“或只是一个整数,指示功能选择的字符。看到getFeatures。
num.bins number of bins (default is 10) used to divide the data
num.bins箱数(默认是10)来划分的数据
num.steps number of steps (default is 3) used to create bin offsets, resulting in bins of sliding windows
num.steps步数(默认为3),用于创建斌偏移,导致滑动窗口的垃圾箱
mode the binning mode to be used. This must be either "continuous" or "discrete". "continuous" mode will divide the data into density-dependent bins. "discrete" mode will divide the data uniformly by binning data values.
mode要使用的分级模式。这必须是要么"continuous"或"discrete"。 "continuous"模式将数据划分成密度依赖箱。 "discrete"模式将数据划分,统一分级的数据值。
show.avg logical; if TRUE, plots overall density in addition to densities per bin. If FALSE (default), overall density plot is omitted.
show.avg逻辑;如果TRUE,图整体密度除了密度每斌。如果FALSE(默认),整体密度图被省略。
main an overall title for the plot: see title.
main总冠军的图:看到title。
xlab a title for the x axis: see title.
xlabx轴标题:看到title。
ylab a title for the y axis: see title.
ylaby轴标题:看到title。
na.rm logical; if TRUE (default), missing values are removed from x and y. If FALSE any missing values cause an error.
na.rm逻辑;如果TRUE(默认),遗漏值x和y删除。如果FALSE任何遗漏值导致错误。
\dots other arguments to be passed to plot. See plot.
\dots可以通过plot其他参数。看到plot。
作者(S)----------Author(s)----------
Reid F. Thompson (<a href="mailto:rthompso@aecom.yu.edu">rthompso@aecom.yu.edu</a>)
参见----------See Also----------
plotBins-methods, density, quantile
plotBins-methods,density,quantile
举例----------Examples----------
#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)[RM(X,Y)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|