找回密码
 注册
查看: 755|回复: 0

R语言 MotIV包 motifDistances()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 01:10:01 | 显示全部楼层 |阅读模式
motifDistances(MotIV)
motifDistances()所属R语言包:MotIV

                                        Clustering PWMs Computation
                                         聚类的PWM计算

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Set of functions to perfom clustering of PWMs.
功能设置批判者的PWM聚类。


用法----------Usage----------


        motifDistances(inputPWM, DBscores=jaspar.scores, cc="PCC", align="SWU", top=5, go=1, ge=0.5)
        motifHclust(x,...)
        motifCutree(tree,k=NULL, h=NULL)



参数----------Arguments----------

参数:inputPWM, DBscores, cc, align, top, go, ge
Option for the PWMs distances computation. Refere to motifMatch.
选项的PWM距离计算。引用一个motifMatch。


参数:x,...
Arguments to pass to the hclust function. See hclust.
参数传递的hclust功能。看到hclust。


参数:tree, k, h
Arguments to pass to the cutree function. See cutree.
参数传递的cutree功能。看到cutree。


Details

详情----------Details----------

This function are made to perform motifs clustering.
此功能是由执行图案聚类。

The "motifDistances" function computes the distances between each pair of motifs using the specified alignment.
motifDistances“函数计算每使用指定的对齐图案之间的距离。

The "motifHclust" and "motifCutree" functions are simple redefinition of "hclust" and "cutree".
motifHclust“和motifCutree职能是的”hclust和cutree简单的重新定义。


作者(S)----------Author(s)----------


Eloi Mercier &lt;<a href="mailto:emercier@chibi.ubc.ca">emercier@chibi.ubc.ca</a>&gt;



举例----------Examples----------


#####Database and Scores#####[####数据库和成绩#####]
path <- system.file(package="MotIV")
jaspar <- readPWMfile(paste(path,"/extdata/jaspar2010.txt",sep=""))
jaspar.scores <- readDBScores(paste(path,"/extdata/jaspar2010_PCC_SWU.scores",sep=""))

#####Input#####[####输入#####]
data(FOXA1_rGADEM)
motifs <- getPWM(gadem)
motifs.trimed <- trimPWMedge(motifs, threshold=1)

#####Analysis#####[#########分析]
foxa1.analysis.jaspar <- motifMatch(inputPWM=motifs,align="SWU",cc="PCC",database=jaspar,DBscores=jaspar.scores,top=5)

#####Clustering#####[#########聚类]
d <- motifDistances(getPWM(foxa1.analysis.jaspar))
hc <- motifHclust(d)
plot(hc)
f <- motifCutree(hc, k=2)
foxa1.combine <- combineMotifs(foxa1.analysis.jaspar, f, exact=FALSE, name=c("Group1", "Group2"), verbose=TRUE)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-3 04:05 , Processed in 0.023039 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表