Description Usage Arguments Value See Also
makeFilePath
uses information about file paths from a project
configuration object, in conjunction with a sample name and how to
deal with subfolder(s), to create a path to the output file that's
known to the project for the sample indicated by sampleName
, and
that corresponds to a particular type/format (e.g., as generated by a
particular pipeline).
1 | makeFilePath(base, sampleName, subdir, extension, suffix = NULL)
|
base |
Project configuration object (environment- or list-like), from which the parent folder is derived. Alternatively, an actual path to a parent folder. |
sampleName |
Name for the sample for which to create filepath. |
subdir |
What to assume about the project's folder structure. If a
Boolean value, this indicates whether the expectation is for
the file to live within a results subfolder named with the
|
suffix |
Text to place between the sample name and the extension.
The default is no suffix, which will also result from an
argument that's empty, |
Path expected for file for the project defined by base
and
the sample indicated by sampleName
. The correspondence
with file type/format is captured by the subdir
and
extension
specifications.
Other paths: .envVarPath
,
.filepath
, .isDir
,
expandPath
, makedirs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.