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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|