getSample {pepr}R Documentation

Extract samples

Description

This method extracts the samples

Usage

getSample(.Object, sampleName)

## S4 method for signature 'Project,character'
getSample(.Object, sampleName)

Arguments

.Object

An object of Project class

sampleName

character the name of the sample

Value

data.table one row data table with the sample associated metadata

Methods (by class)

Examples

projectConfig = system.file(
"extdata",
"example_peps-master",
"example_basic",
"project_config.yaml",
package = "pepr"
)
p = Project(projectConfig)
sampleName = "frog_1"
getSample(p, sampleName)

[Package pepr version 0.5.0 Index]