plotBicluster(fabia)
plotBicluster()所属R语言包:fabia
Plotting of a bicluster
标图1 bicluster的
译者:生物统计家园网 机器人LoveR
描述----------Description----------
plotBicluster: R implementation of plotBicluster.
plotBicluster:R的plotBicluster实施。
用法----------Usage----------
plotBicluster(r,p,opp=FALSE,zlim=NULL,title=NULL,which=c(1, 2))
参数----------Arguments----------
参数:r
the result of extract_bic.
结果的extract_bic。
参数:p
the bicluster to plot.
绘制的bicluster。
参数:opp
plot opposite bicluster, default = FALSE.
图对面bicluster,默认为FALSE。
参数:zlim
vector containing a low and high value to use for the color scale.
使用色阶低和高价值的向量。
参数:title
title of the plot.
图的标题。
参数:which
which plots are shown: 1=data matrix with bicluster on upper left, 2=plot of the bicluster; default c(1, 2).
图所示:1 =数据矩阵与bicluster左上角,2 =积的bicluster的;默认C(1,2)。
Details
详情----------Details----------
One bicluster is visualized by two plots. The variable "which" indicates which plots should be shown.
可视化一个bicluster是由两个图。变量“”表示应显示哪些图。
Plot1 (which=1): The data matrix is sorted such that the bicluster appear at the upper left corner. The bicluster is marked by a rectangle.
数据plot1(其中= 1):矩阵排序等,bicluster出现在左上角。 bicluster是由一个长方形标记。
Plot2 (which=2): Only the bicluster is plotted.
plot2(其中= 2):只有bicluster绘制。
Implementation in R.
R中的实现
作者(S)----------Author(s)----------
Sepp Hochreiter
参见----------See Also----------
fabia, fabias, fabiap, fabi, fabiasp, mfsc, nmfdiv, nmfeu, nmfsc, plot, extractPlot, extractBic, plotBicluster, Factorization, projFuncPos, projFunc, estimateMode, makeFabiaData, makeFabiaDataBlocks, makeFabiaDataPos, makeFabiaDataBlocksPos, matrixImagePlot, summary, show, showSelected, fabiaDemo, fabiaVersion
fabia,fabias,fabiap,fabi,fabiasp,mfsc,nmfdiv,nmfeu,nmfsc,plot,extractPlot,extractBic,plotBicluster,Factorization,projFuncPos,projFunc,estimateMode ,makeFabiaData,makeFabiaDataBlocks,makeFabiaDataPos,makeFabiaDataBlocksPos,matrixImagePlot,summary,show,showSelected fabiaDemo,fabiaVersion
举例----------Examples----------
#---------------[---------------]
# TEST[试验]
#---------------[---------------]
dat <- makeFabiaDataBlocks(n = 100,l= 50,p = 3,f1 = 5,f2 = 5,
of1 = 5,of2 = 10,sd_noise = 3.0,sd_z_noise = 0.2,mean_z = 2.0,
sd_z = 1.0,sd_l_noise = 0.2,mean_l = 3.0,sd_l = 1.0)
X <- dat[[1]]
Y <- dat[[2]]
resEx <- fabia(X,3,0.01,20)
rEx <- extractBic(resEx)
plotBicluster(rEx,p=1)
## Not run: [#无法运行:]
#---------------[---------------]
# DEMO1[DEMO1]
#---------------[---------------]
dat <- makeFabiaDataBlocks(n = 1000,l= 100,p = 10,f1 = 5,f2 = 5,
of1 = 5,of2 = 10,sd_noise = 3.0,sd_z_noise = 0.2,mean_z = 2.0,
sd_z = 1.0,sd_l_noise = 0.2,mean_l = 3.0,sd_l = 1.0)
X <- dat[[1]]
Y <- dat[[2]]
resToy <- fabia(X,13,0.01,200)
rToy <- extractBic(resToy)
plotBicluster(rToy,p=1)
#---------------[---------------]
# DEMO2[DEMO2]
#---------------[---------------]
avail <- require(fabiaData)
if (!avail) {
message("")
message("")
message("#####################################################")[################################################## ##“)]
message("Package 'fabiaData' is not available: please install.")
message("#####################################################")[################################################## ##“)]
} else {
data(Breast_A)
X <- as.matrix(XBreast)
resBreast <- fabia(X,5,0.1,200)
rBreast <- extractBic(resBreast)
plotBicluster(rBreast,p=1)
}
## End(Not run)[#结束(不运行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|