dba.contrast(DiffBind)
dba.contrast()所属R语言包:DiffBind
Set up contrasts for differential binding affinity analysis
成立差亲和力分析对比
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Sets up contrasts for differential binding affinity analysis
设置差分亲和力分析对比
用法----------Usage----------
dba.contrast(DBA, group1, group2=!group1, name1="group1", name2="group2",
minMembers=3, block ,
categories = c(DBA_TISSUE,DBA_FACTOR,DBA_CONDITION))
参数----------Arguments----------
参数:DBA
DBA object with count data
DBA的对象计数数据
参数:group1
mask of samples in first group (when adding a specific contrast). See dba.mask
在第一组样品的面具(加入特定的反差时)。看到dba.mask
参数:group2
mask of samples in second group (when adding a specific contrast). See dba.mask
在第二组样品的面具(加入特定的反差时)。看到dba.mask
参数:name1
label for samples in first group (when adding a specific contrast).
在第一组样品的标签(添加特定的反差时)。
参数:name2
label for samples in second group (when adding a specific contrast).
在第二组样品的标签(添加特定的反差时)。
参数:minMembers
when automatically generating contrasts, minimum number of unique samples in a group. Must be at least 2, as replicates are strongly advised. If you wish to do an analysis with no replicates, you can set the group1 and group2 parameters explicitly.
时自动生成的对比,在一组独特的样品最低数量。必须至少有2,如复制,我们强烈建议。如果你想这样做没有重复分析,您可以设置Group1和Group2的参数明确。
参数:categories
when automatically generating contrasts, attribute or vector of attributes to base contrasts on:
自动生成对比,属性或属性碱基对比向量时:
DBA_ID
DBA_ID
DBA_TISSUE
DBA_TISSUE
DBA_FACTOR
DBA_FACTOR
DBA_CONDITION
DBA_CONDITION
DBA_REPLICATE
DBA_REPLICATE
DBA_CALLER
DBA_CALLER
参数:block
blocking attribute for multi-factor analysis. Only when adding a specific contrast, and will only work with edgeR analysis; see dba.analysis. There must be at least one value for the specified attribute that is associated with samples in each of the two groups of the contrast. For example, if DBA_REPLICATE is specified, there must be at least one sample in each group with the same replicate number. Possible attribute values include:
多因素分析阻塞属性。只有当加入一个特定的对比度,并且将只工作与磨边分析;看到dba.analysis。必须有至少有一个指定的属性值,对比两组样本。例如,指定如果DBA_REPLICATE,必须有至少有一个样本在各组具有相同的复制数量。可能的属性值包括:
DBA_TISSUE
DBA_TISSUE
DBA_FACTOR
DBA_FACTOR
DBA_CONDITION
DBA_CONDITION
DBA_REPLICATE
DBA_REPLICATE
DBA_CALLER
DBA_CALLER
Details
详情----------Details----------
MODE: Set up all possible contrasts:
模式:设置所有可能的对比:
dba.contrast(DBA, minMembers, categories)
dba.contrast(DBA来说,minMembers,类别)
MODE: Set up a specific contrast:
模式:设置一个特定的对比:
dba.contrast(DBA, group1, group2, name1, name2, block)
dba.contrast(DBA组1,组2中,name1,name2的,块)
值----------Value----------
DBA object with contrast(s) set as DBA$contrasts. Contrast list can be retrieved using dba.show(DBA, bContrasts=T).
DBA与对比对象(S)的DBA $对比。使用dba.show(DBA来说,bContrasts = T),对照表,可以检索。
注意----------Note----------
Contrasts will only be set up for peaksets where DBA_CALLER == "counts".
反差只会的peaksets其中DBA_CALLER ==“罪名”成立。
Contrasts can be cleared by DBA$contrasts=NULL.
对比可以清除的DBA $反差=空。
作者(S)----------Author(s)----------
Rory Stark
举例----------Examples----------
data(tamoxifen_counts)
tamoxifen = dba.contrast(tamoxifen, categories=DBA_CONDITION)
tamoxifen
# Another way to do the same thing[另一种方式做同样的事情]
tamoxifen$contrasts=NULL
tamoxifen = dba.contrast(tamoxifen, tamoxifen$masks$Responsive, tamoxifen$masks$Resistant,
"Responsive", "Resistant")
tamoxifen
# Add add default contrasts[添加默认的对比]
tamoxifen$contrasts=NULL
tamoxifen = dba.contrast(tamoxifen)
tamoxifen
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|