RidgePlot(SigWinR)
RidgePlot()所属R语言包:SigWinR
Plot ridges
图脊
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plot a graph of a sequence with ridges calulated by Ridges
绘制的曲线图在序列的由脊calulated的脊
用法----------Usage----------
RidgePlot(ridges,x,y,ptitle="Ridges",labels=NULL,col=NULL,...)
参数----------Arguments----------
参数:ridges
a list of ridges produced by one or more cals to Ridges
产生的一个或多个使用CAL来脊的脊的列表
参数:x
an optional vector with the same length as y of sample positions
一个可选的矢量具有相同的长度为y的样本位置
参数:y
the sequence for which the ridges are calculated
计算序列的脊
参数:ptitle
The title of the graph
图形的标题
参数:labels
A vector of the labels for the elements in the ridge list
甲脊列表中的矢量的元素的标签
参数:col
The colors for rendering the elements of the ridge list
为呈现脊列表元素的颜色
参数:...
Additional plot parameters
其他图参数
Details
详细信息----------Details----------
An xy-plot will be drawn with the ridges shown as rectangles behind the graph.
将被绘制的xy图,如后面的图中的矩形所示的脊部。
(作者)----------Author(s)----------
w.c.deleeuw@uva.nl
参考文献----------References----------
enriched windows of genomic features related to DNA sequences Marcia A Inda, Marinus F van Batenburg, Marco Roos, Adam SZ Belloum, Dmitry Vasunin, Adianto Wibisono, Antoine HC van Kampen, and Timo M Breit
参见----------See Also----------
Ridges,SigWin
山脊,SigWin
实例----------Examples----------
x<-sort(unlist(sapply(1:10,function(i) {runif(round((rnorm(1,0,10))^2),i-1,i)})))
y <- sin(x*2)+rnorm(length(x))
ridges <- list(Ridges(y,1,x,pval=0.05),Ridges(y,1,x,pval=0.05,antiRidge=TRUE))
RidgePlot(ridges,x,y,col=c("#CCFFCC","#FFCCCC"))[CCFFCC“,”#FFCCCC“))]
lines(seq(0.1,10,by=0.1),sin(2*seq(0.1,10,by=0.1)),col="blue",lw=2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|