threePanelPlot(prada)
threePanelPlot()所属R语言包:prada
Visualize cytometry data
流式单元仪的数据可视化
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Function to visualize multivariate (cytometry) data in three two-dimensional plots.
在两三个立体图的功能,可视化多元(流式单元仪)的数据。
用法----------Usage----------
threePanelPlot(data, x.panels = c(1, 4, 5), y.panels = c(2, 3, 6),
tot.width = 15, tot.height = 5.4, maxcells = 20000,
limits = c(0, 1023), remove.extremes = TRUE,
plotTitle = "Three-Panel Plot", use.smoothScatter = TRUE,
palette = colorRampPalette(brewer.pal(9, "Blues")),
new.device = TRUE, verbose = TRUE,
addPoints = NULL, addCol = "red", ...)
参数----------Arguments----------
参数:data
data matrix to visualize
矩阵数据的可视化
参数:x.panels
which variables (columns) are to be plotted at the x-axis of the three variables
要在三个变量x轴绘制哪些变量(列)
参数:y.panels
which variables (columns) are to be plotted at the y-axis of the three variables
要在三个变量Y轴绘制哪些变量(列)
参数:tot.width
width of a new device to open, see argument new.device
打开一个新的设备的宽度,参数new.device
参数:tot.height
height of a new device to open, see argument new.device
打开一个新的设备的高度,看到参数new.device
参数:maxcells
maximum number of observations (cells) for plotting; higher numbers reduce performance
观测的最大数量(单元)的图;较高的数字降低性能
参数:limits
minimum and maximum value (theoretically) observed in the data; e.g., with 10-channel digitized data it is c(0,1023)
观察数据的最低和最高值(理论上),例如10通道数字化数据,它是C(0,1023)
参数:remove.extremes
logical; are extreme values (equal to theoretical limits) to be removed before plotting
逻辑;极端值(等于理论limits)被删除之前绘制
参数:plotTitle
title for the plot
图标题
参数:use.smoothScatter
logical, should the function smoothScatter be employed for plotting the data (plots data densities rather than individual points)
逻辑,应该的功能smoothScatter绘制的数据(图数据密度,而不是个别点)聘用
参数:palette
if smoothScatter is used, which colour palette is it to use
如果smoothScatter,调色板,它是使用
参数:new.device
logical; should a new device be opened for the three plots; if FALSE the three plots will be plotted to the currently active device
逻辑;应该打开一个新的设备,三幅图;如果FALSE三个图将被绘制到目前的有源器件
参数:verbose
logical; do you want extended output to STDOUT
逻辑;你想扩展输出到STDOUT
参数:addPoints
should special points be marked after plotting the data; is expected to be a subser of argument data with the same number of columns (=variables); if NULL no points are marked
特殊点应标明绘制的数据后,有望成为一个参数subserdata相同数量的列(变量);如果NULL没有点标
参数:addCol
in which colour are the points in addPoints to be marked
在颜色addPoints被标记的点
参数:...
further arguments passed on to plot.default
通过进一步的论据plot.default
值----------Value----------
no value is returned; the function is called to produce three plots
没有返回值的功能,被称为三个图
作者(S)----------Author(s)----------
Joern Toedling <a href="mailto:toedling@ebi.ac.uk">toedling@ebi.ac.uk</a>
参见----------See Also----------
plot.default
plot.default
举例----------Examples----------
# generate some data:[产生的一些数据:]
toyData <- cbind(matrix(pmax(0,pmin(runif(3000)+rnorm(3000),4)),ncol=3),
matrix(pmax(0,pmin(rnorm(3000,2,1),4)),ncol=3))
colnames(toyData) <- paste("Var",1:6,sep="")
toyQuantiles <- apply(toyData,2,quantile,probs=c(0.25,0.5,0.75))
# plot it and mark the quantiles:[绘制和纪念位数:]
threePanelPlot(toyData,addPoints=toyQuantiles,
addCol=c("orange","red","purple"),limits=c(0,4),pch=20)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|