This method can be used to view the samples slot
of the "Project"
class
sampleTable(object)
# S4 method for Project
sampleTable(object)
an object of "Project"
a data.table with the with metadata about samples
sampleTable(Project)
: extract sample table from a "Project"
projectConfig = system.file("extdata", "example_peps-master",
"example_amendments1", "project_config.yaml", package="pepr")
p=Project(projectConfig)
#> Loading config file: /home/runner/work/_temp/Library/pepr/extdata/example_peps-master/example_amendments1/project_config.yaml
#> amendments: newLib,newLib2
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