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