get_salmon_root | R Documentation |
Get Salmon root directory
get_salmon_root(file, ...)
file |
character path to a Salmon output file, or a vector of files. |
... |
additional arguments are ignored. |
This function uses the rprojroot
package to find the
root output directory of a Salmon quant analysis, looking
for the file "cmd_info.json"
. If this file is not found,
this function returns NULL
.
file path to the Salmon root directory, or NA
if
the Salmon root directory could not be found.
Other jam nextgen sequence functions:
get_salmon_meta()
,
parse_salmon_flenfile()
,
save_salmon_qc_xlsx()
cmdinfopath <- system.file("data", "salmonOut", "cmd_info.json", package="platjam");
if (nchar(cmdinfopath) > 0) {
get_salmon_root(cmdinfopath);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.