Description Usage Arguments Value Author(s) References See Also Examples
Read the manifest file from a refpackage and return a list containing the package contents.
1 | refpkgContents(path, manifest = "CONTENTS.json")
|
path |
path to a refpkg directory |
manifest |
name of the manifest file |
Returns a list of lists. Run example(refpkgContents)
for details.
Noah Hoffman
The decsription and specification for a reference package can be found in the project repository in github: https://github.com/fhcrc/taxtastic
Scripts and tools for creating reference packages are provided in the
python package taxonomy
, also available from the taxtastic
project site.
1 2 3 4 5 6 7 8 | archive <- 'vaginal_16s.refpkg.tar.gz'
destdir <- tempdir()
system(gettextf('tar -xzf %s --directory="%s"',
system.file('extdata',archive,package='clstutils'),
destdir))
refpkg <- file.path(destdir, sub('.tar.gz','',archive))
contents <- refpkgContents(refpkg)
str(refpkg)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.