getSubsample | R Documentation |
This method extracts the subsamples
getSubsample(.Object, sampleName, subsampleName)
## S4 method for signature 'Project,character,character'
getSubsample(.Object, sampleName, subsampleName)
.Object |
An object of Project class |
sampleName |
character the name of the sample |
subsampleName |
character the name of the subsample |
data.table one row data table with the subsample associated metadata
getSubsample(
.Object = Project,
sampleName = character,
subsampleName = character
)
: extracts the subsamples from the "Project"
object
projectConfig = system.file(
"extdata",
"example_peps-master",
"example_subtable1",
"project_config.yaml",
package = "pepr"
)
p = Project(projectConfig)
sampleName = "frog_1"
subsampleName = "sub_a"
getSubsample(p, sampleName, subsampleName)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.