Project" — sampleTable" />
This method can be used to view the samples slot
of the "Project"
class
sampleTable(object) # S4 method for Project sampleTable(object)
object | an object of |
---|
a data.table with the with metadata about samples
Project
: extract sample table from a "Project"
projectConfig = system.file("extdata", "example_peps-master", "example_amendments1", "project_config.yaml", package="pepr") p=Project(projectConfig)#>#>sampleTable(p)#> sample_name protocol organism time file_path #> 1: pig_0h RRBS pig 0 /data/lab/project/pig_0h.fastq #> 2: pig_1h RRBS pig 1 /data/lab/project/pig_1h.fastq #> 3: frog_0h RRBS frog 0 /data/lab/project/frog_0h.fastq #> 4: frog_1h RRBS frog 1 /data/lab/project/frog_1h.fastq