labeledBarplot(WGCNA)
labeledBarplot()所属R语言包:WGCNA
Barplot with text or color labels.
Barplot文本或彩色标签。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Produce a barplot with extra annotation.
产生barplot额外的注解。
用法----------Usage----------
labeledBarplot(
Matrix, labels,
colorLabels = FALSE,
colored = TRUE,
setStdMargins = TRUE,
stdErrors = NULL,
cex.lab = NULL,
xLabelsAngle = 45,
...)
参数----------Arguments----------
参数:Matrix
vector or a matrix to be plotted.
向量或矩阵被绘制。
参数:labels
labels to annotate the bars underneath the barplot.
标签下面的barplot注释的条形。
参数:colorLabels
logical: should the labels be interpreted as colors? If TRUE, the bars will be labeled by colored squares instead of text. See details.
逻辑:应被理解为颜色的标签吗?如果TRUE,条形将被标记的颜色的方块,而不是文字。查看详细信息。
参数:colored
logical: should the bars be divided into segments and colored? If TRUE, assumes the labels can be interpreted as colors, and the input Matrix is square and the rows have the same labels as the columns. See details.
逻辑:应分为段和彩色的条形吗?如果TRUE,假设labels可以解释颜色,输入Matrix是方形的,行具有相同的列标签。查看详细信息。
参数:setStdMargins
if TRUE, the function wil set margins c(3, 3, 2, 2)+0.2.
如果TRUE,功能WIL将页边距设置c(3, 3, 2, 2)+0.2。
参数:stdErrors
if given, error bars corresponding to 1.96*stdErrors will be plotted on top of the bars.
如果给定,1.96*stdErrors相应的错误条形将被绘制在上面的条形。
参数:cex.lab
character expansion factor for axis labels, including the text labels underneath the barplot.
字符膨胀系数轴的标签,包括文字标签下的barplot。
参数:xLabelsAngle
angle at which text labels under the barplot will be printed.
角度的文本标签下barplot将被打印出来。
参数:...
other parameters for the function barplot.
的功能barplot的其他参数。
Details
详细信息----------Details----------
Individual bars in the barplot can be identified either by printing the text of the corresponding entry in labels underneath the bar at the angle specified by xLabelsAngle, or by interpreting the labels entry as a color (see below) and drawing a correspondingly colored square underneath the bar.
可以识别通过个人在barplot条形,打印的文本labels下面的条形在指定的xLabelsAngle的角度或labels项解释作为一个颜色中的相应条目(见下文),并绘制相应的彩色方块下方的条形。
For reasons of compatibility with other functions, labels are interpreted as colors after stripping the first two characters from each label. For example, the label "MEturquoise" is interpreted as the color turquoise.
与其他功能的兼容性的原因,labels被解释作为剥离后的前两个字符,每个标签的颜色。例如,标签"MEturquoise"的颜色绿松石解释。
If colored is set, the code assumes that labels can be interpreted as colors, and the input Matrix is square and the rows have the same labels as the columns. Each bar in the barplot is then sectioned into contributions from each row entry in Matrix and is colored by the color given by the entry in labels that corresponds to the row.
如果colored设置,代码假设labels可以理解为色彩,并输入Matrix广场和行具有相同的列标签。每个在barplot吧然后分成Matrixlabels对应的行中的条目的颜色是彩色的每一行项目中的贡献。
值----------Value----------
None.
无。
(作者)----------Author(s)----------
Peter Langfelder
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|