graph1D(made4)
graph1D()所属R语言包:made4
Plot 1D graph of axis from multivariate analysis
图轴1D图从多元分析
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Draw 1D plot of an axis from multivariate analysis. Useful for visualising an individual axis from analyses such as PCA dudi.pca or COA dudi.coa. It accepts a factor so that groups of points can be coloured. It can also be used for graphing genes, and will only label n genes at the ends of the axis.
从多元分析轴1D图。个别轴的可视化分析,如PCA的dudi.pca或农委会dudi.coa有用。它接受一个因素,使点组可以是彩色的。它也可以用于基因作图,并只会在轴的两端N基因标记。
用法----------Usage----------
参数----------Arguments----------
参数:dfx
vector, matrix, or data.frame, which contains a column with axis coordinates
vector,matrix或data.frame,其中包含一列轴坐标
参数:ax
Numeric, indicating column of matrix, or data.frame to be plotted. The default is 1.
数字,说明matrix或data.frame要绘制列。默认值是1。
参数:classvec
Factor, indicating sub-groupings or classes in dfx or dfx[,ax]
因素,说明子集团或DFX或DFX,斧头类]
参数:hor
Logical, indicating whether the graph should be drawn horizontal or vertically. The default is vertically.
逻辑,画的图是否应水平或垂直。默认是垂直的。
参数:s.nam
Vector. labels of dfx, The default is row.names(dfx)
向量。的DFX标签,默认是row.names(DFX)
参数:n
Numeric. Whether all rows should be plotted, n=10 would label only the 10 variables at the end of the axis. By default all variables (row of dfx) are labelled
数字。是否所有行应绘制,N = 10标记轴年底只有10个变量。默认情况下,所有变量(DFX行)标记
参数:scaled
A logical indicating whether the plot should be scaled to fit. The default is TRUE
一个逻辑图是否应调整,以适应。默认值是TRUE
参数:col
A character or vector indicating the colour(s) for points or groups of points. If points are to be coloured according to a factor, length(col) should equal length(levels(classvec))
字符或矢量显示的色点或点组(S)。如果点是根据一个因素是彩色的,长度(COL)长度相等(水平(classvec))
参数:width
A vector of length 2, which is the width (of a vertical plot) or height (of a horizontal plot). This can be increased if variable labels are unreadable. The default is c(-2,1)
一个向量的长度为2,这是宽度(垂直图)或高度(水平图)。如果变量标签不可读,这可以增加。默认为C(-2,1)
参数:...
further arguments passed to or from other methods
通过进一步的论据或其他方法
作者(S)----------Author(s)----------
Aedin Culhane
参见----------See Also----------
between.graph
between.graph
举例----------Examples----------
a<-rnorm(25)
graph1D(a, s.nam=letters[1:25])
graph1D(a, s.nam=letters[1:25], col="blue", pch=19, n=3)
data(khan)
if (require(ade4, quiet = TRUE)) {
khan.coa<-dudi.coa(khan$train, scan=FALSE, nf=2)
}
graph1D(khan.coa$co, ax=1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|