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

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

[复制链接]
发表于 2012-2-25 15:12:11 | 显示全部楼层 |阅读模式
refpkgContents(clstutils)
refpkgContents()所属R语言包:clstutils

                                         Read the contents of a collection of reference sequences ("refpkg").
                                         阅读参考序列的集合的内容(“refpkg”)。

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

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

Read the manifest file from a refpackage and return a list containing the package contents.
manifest文件从refpackage读取并返回一个列表,其中包含包装内容。


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


refpkgContents(path, manifest = "CONTENTS.json")



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

参数:path
path to a refpkg directory
到refpkg目录的路径


参数:manifest
name of the manifest file
列表文件的名称


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

Returns a list of lists. Run example(refpkgContents) for details.
返回一个列表。运行example(refpkgContents)详情。


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



Noah Hoffman




参考文献----------References----------

in the project repository in github: https://github.com/fhcrc/taxtastic
python package <code>taxonomy</code>, also available from the taxtastic project site.

参见----------See Also----------

taxonomyFromRefpkg
taxonomyFromRefpkg


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


archive <- 'vaginal_16s.refpkg.tar.bz2'
destdir <- tempdir()
system(gettextf('tar -xjf %s --directory="%s"',
                system.file('extdata',archive,package='clstutils'),
                destdir))
refpkg <- file.path(destdir, sub('.tar.bz2','',archive))
contents <- refpkgContents(refpkg)
str(refpkg)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-13 10:46 , Processed in 0.020595 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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