otherGenerics(OTUbase)
otherGenerics()所属R语言包:OTUbase
Other Generics
其他泛型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Various functions. notus returns the number of OTUs in an OTUset object. nsamples returns the number of samples in either an OTUset or a TAXset object. seqnames returns the sequence names of the OTUset or TAXset object without the extra information commonly present with the id.
各种功能。 notus返回的在OTUset对象数个OTUs。 nsamples返回一个OTUset或TAXset对象的样本数量。 seqnames返回常用的ID,无需额外的信息的的对象OTUset或TAXset的序列名称。
用法----------Usage----------
notus(object, ...)
nsamples(object, ...)
seqnames(object, ...)
参数----------Arguments----------
参数:object
An OTUset or a TAXset object.
OTUset或TAXset对象。
参数:...
Other arguments. These are currently nonfunctional.
其他参数。这些都是目前不起作用。
举例----------Examples----------
dirPath <- system.file("extdata/Sogin_2006", package="OTUbase")
## read in data into OTUset object[#读取数据OTUset对象]
soginOTU <- readOTUset(dirPath=dirPath, level="0.03", samplefile="sogin.groups", fastafile="sogin.fasta", otufile="sogin.unique.filter.fn.list", sampleADF="sample_metadata.txt")
## get the number of OTUs[#个OTU的数量。]
notus(soginOTU)
## get the number of samples[#得到的样本数量。]
nsamples(soginOTU)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|