Project" — sampleTable" />

This method can be used to view the samples slot of the "Project" class

sampleTable(object)

# S4 method for Project
sampleTable(object)

Arguments

object

an object of "Project"

Value

a data.table with the with metadata about samples

Methods (by class)

  • Project: extract sample table from a "Project"

Examples

projectConfig = system.file("extdata", "example_peps-master", "example_amendments1", "project_config.yaml", package="pepr") p=Project(projectConfig)
#> Loading config file: /private/var/folders/3f/0wj7rs2144l9zsgxd3jn5nxc0000gn/T/RtmpEYsaEm/temp_libpath43b174cbd72/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