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

R语言 DiffBind包 dba.mask()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 16:39:12 | 显示全部楼层 |阅读模式
dba.mask(DiffBind)
dba.mask()所属R语言包:DiffBind

                                         Derive a mask to define a subset of peaksets or sites for a DBA object
                                         派生出一个面具来定义一个DBA的对象的peaksets或网站的一个子集

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

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

Derives a mask to define a subset of peaksets or sites for a DBA object.
派生出一个面具来定义一个DBA对象peaksets或网站的一个子集。


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


dba.mask(DBA, attribute, value, combine='or', mask, merge='or', bApply=FALSE,
         peakset, minValue=-1)



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

参数:DBA
DBA object  
DBA的对象


参数:attribute
when deriving a peakset mask, attribute to base mask on:             
派生peakset面具时,归因于基础面膜:

DBA_ID  
DBA_ID

DBA_TISSUE  
DBA_TISSUE

DBA_FACTOR  
DBA_FACTOR

DBA_CONDITION  
DBA_CONDITION

DBA_REPLICATE  
DBA_REPLICATE

DBA_CONSENSUS  
DBA_CONSENSUS

DBA_CALLER  
DBA_CALLER

DBA_CONTROL  
DBA_CONTROL


参数:value
when deriving a peakset/sample mask, attribute value (or vector of attribute values) to match.  
派生peakset /样品面具时,属性值(或属性值的向量)相匹配。


参数:combine
when deriving a peakset/sample mask, if value is a vector, OR when deriving a site mask, and peaksets is a vector, this is method for combining result of each value:   
派生peakset /样品面具时,如果值是一个向量,或派生网站面具时,和peaksets是一个向量,这是每个值的方法相结合的结果:

“or”  
“或”

“and”  
“和”

“nor”  
“也不是”

“nand”   
“NAND”


参数:mask
when deriving a peakset/sample mask, this specifies an existing mask to merge with; if missing, create new mask  
派生peakset /样品面具时,指定一个现有的的面具合并,如果缺少,创造新的面具


参数:merge
when deriving a peakset/sample mask, and an existing mask is supplied, this speficies the method for combining new mask with supplied mask:   
当派生peakset /样品面具,提供现有的面具,这speficies结合提供新的面具面具的方法:

“or”  
“或”

“and”  
“和”

“nor”  
“也不是”

“nand”  note: if mask is missing, “nand” results in negative of mask  
“NAND”注意:如果缺少掩码,“NAND”面具的负面结果


参数:bApply
when deriving a peakset/sample mask, a logical indicating that a new DBA object with the mask applied will be returned.  
派生peakset /样品面具时指出,逻辑与应用的面具新的DBA对象将被退回。


参数:peakset
when deriving a peak/site mask, this specifies a peakset number, or a vector of peakset numbers. The resulting mask will indicate which of the overall sites were called as peaks in this peakset or set of peaksets. If a vector, the masks for each of the peaksets will be combined using the method specified in the combine parameter.  
派生一个高峰/网站面具时,指定的peakset号码,或向量peakset数字。产生的面具将显示整体网站呼吁在此peakset或peaksets的一套峰。如果一个向量,为每个peaksets的口罩将合并使用联合收割机参数中指定的方法。


参数:minValue
when deriving a peak/site mask, scores greater than this value will be considered as indicating that the site corresponds to a called peakset.  
派生一个高峰/网站面具时,得分大于这个值将被视为显示该网站对应一个名为peakset。


Details

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

MODE: Derive a a mask of peaksets/samples:
模式:导出的口罩peaksets /样品:

dba.mask(DBA, attribute, value, combine, mask, merge, bApply)
dba.mask(DBA来说,属性,价值,结合面具,合并,bApply)

MODE: Derive a mask of peaks/sites:
模式:导出峰/遗址的面具:

dba.mask(DBA, combine, mask, merge,bApply, peakset, minValue)
dba.mask(DBA的结合起来,面具,合并,bApply,peakset,MINVALUE)


值----------Value----------

either a logical mask, or new DBA object if bApply is TRUE.
无论是逻辑的面具,或新的DBA对象如果bApply为TRUE。


注意----------Note----------

dba automatically generates masks for each unique value of DBA_TISSUE, DBA_FACTOR, DBA_CONDITION, DBA_CALLER, and DBA_REPLICATE. These are accessible using masks field of the DBA object (DBA$masks), and can be viewed using names(DBA$masks).
DBA为独特每个DBA_TISSUE,DBA_FACTOR,DBA_CONDITION,DBA_CALLER的价值会自动生成口罩,DBA_REPLICATE。这些都是使用口罩DBA的对象(DBA的$口罩)领域的访问,可以被视为使用名称(DBA的$口罩)。


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



Rory Stark




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


data(tamoxifen_peaks)

# Pre-made masks[预制口罩]
names(tamoxifen$masks)
dba.show(tamoxifen,tamoxifen$masks$MCF7)

# New masks[新口罩]
mcf7Mask = dba.mask(tamoxifen,DBA_TISSUE, "MCF7")
mcf7DerivedMask = dba.mask(tamoxifen,DBA_TISSUE,"TAMR",mask=mcf7Mask)
mcf7Derived = dba(tamoxifen,mcf7DerivedMask)
mcf7Derived

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-12 01:27 , Processed in 0.028282 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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