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

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

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

                                        Other functions
                                         其他功能

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

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

These are other functions available. Caution is advised when using them. Some are still in development and others only work on specific objects (OTUset or TAXset).
这些都是可用的其他功能。使用时需要谨慎对待。一些仍处于发展阶段,只对特定的对象(OTUset或TAXset)。


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


    getOTUs(object, colnum, value, exact)
    getSamples(object, colnum, value, exact)
    o_diversity(object, ...)
    o_estimateR(object, ...)



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

参数:object
An OTUset or a TAXset object.
OTUset或TAXset对象。


参数:colnum
The column of the sampleData or assignmentData dataframe that contains the value.
sampleData或assignmentDatadataframe包含该值的列。


参数:value
The desired value.
所需的值。


参数:exact
If exact=T value must match perfectly. If exact=F value will grep instead of match.  
如果确切= Tvalue必须完全匹配。如果确切= F的valuegrep的匹配。


参数:...
Other arguments. Often these are passed to abundance
其他参数。通常,这些传递abundance的


Details

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

getOTUs Returns OTU names that match given values in the assignmentData dataframe.
getOTUs返回的OTU在assignmentData dataframe匹配给定的值的名称。

getSamples Returns sample names that match given values in the sampleData dataframe.
getSamples返回样本的sampleData dataframe匹配给定的值的名称。

o_diversity Wrapper for vegan's diversity function.
o_diversity包装为素食主义者的多样性功能。

o_estimateR Wrapper for vegan's estimateR function.
素食的estimateR功能o_estimateR包装。

otuseqplot Plots the samples acording to number of OTUs and number of sequences.
otuseqplot图的样品acording个OTUs数量和序列数。

otusize Returns the size of each OTU.
otusize返回每个OTU的大小。

otuspersample Lists the number of OTUs in each sample.
otuspersample列出每个样本中的数个OTUs。

rseqplot Plots the samples by estimated richness and number of sequences.
rseqplot图的样本序列估计的丰富和数量。

seqspersample Returns the number of sequences in each sample.
seqspersample在每个样品返回序列的数量。

sharedotus Returns the number of OTUs shared between samples.
sharedotus返回样本之间共享个OTU的数量。


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



## locate directory with data[#定位数据目录]
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")

getSamples(soginOTU, colnum="Site", value="Labrador", exact=FALSE)

o_estimateR(soginOTU)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-1 23:59 , Processed in 0.035261 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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