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

R语言 DNAcopy包 subset.CNA()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 16:42:55 | 显示全部楼层 |阅读模式
subset.CNA(DNAcopy)
subset.CNA()所属R语言包:DNAcopy

                                        Subset a ‘Copy Number Array’ data object
                                         “拷贝数数组的子集数据对象

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

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

Function to return a subset of a copy number array data object by a list of chromosomes and sample.
函数返回一个拷贝数的数组数据对象的一个子集,由染色体和样品列表。


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


  ## S3 method for class 'CNA'
subset(x, chromlist=NULL, samplelist=NULL, ...)



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

参数:x
Copy number array data object
拷贝数的数组数据对象


参数:chromlist
chromosomes of interest.  Should be a subset of the valid chromosome names in the original data.
染色体的利益。应该在原始数据的有效染色体名的一个子集。


参数:samplelist
samples of interest.  Can be integers denoting the samples of interest or a vector of valid sample names.
样品的利益。可以是整数,表示感兴趣的样品或向量有效样本名。


参数:...
other arguments which may be passed to subset.
其他参数可通过subset。


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

An object of class CNA with the data for the list of chromosomes and samples of interest.
一个类的对象CNA和利益的染色体样本名单中的数据。


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



data(coriell)

#Combine into one CNA object to prepare for analysis on Chromosomes 1-23[结合成一个中央社的对象,准备进行分析,染色体1-23]

CNA.object <- CNA(cbind(coriell$Coriell.05296,coriell$Coriell.13330),
                  coriell$Chromosome,coriell$Position,
                  data.type="logratio",sampleid=c("c05296","c13330"))

#Take the first ten chromosomes of the first sample[采取的第一个样品的前十位的染色体]

#subset.CNA.object &lt;- subset.CNA(CNA.object,chromlist=1:10,samplelist="c05296")[< -  subset.CNA subset.CNA.object(CNA.object,chromlist = 1:10,samplelist =“c05296”)]
subset.CNA.object <- subset(CNA.object,chromlist=1:10,samplelist="c05296")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-11 21:16 , Processed in 0.020448 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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