sampleSelector: Generalized sample selector which hopefully works...

Description Usage Details Examples

View source: R/timetrends.R

Description

The sampleList is the table merged to the filename list via assignSamples, and can contain any arbitrary columns describing "what" the measured sample is. E.g. filename, sample, timepoint, workup (where "workup" can be different ways of working up a biological sample, e.g. lysed cells vs supernatant)

Usage

1
sampleSelector(sampleList, sampleAssignment, ...)

Details

The sampleAssignment table is the table building relationships between samples, and can contain arbitrary columns describing what group a sample belongs to. E.g. sample, organism, spikedChemicals, stressor

sampleSelector returns the indices of all samples from sampleList which match all specified conditions (be they in sampleList or sampleAssignemnt). E.g.

Examples

1
2
3
4
5
## Not run: 
sampleSelector(l, a, workup = "supernatant", spikedChemicals = "atrazine")
sampleSelector(l, a, species = c("ecoli", "botulinum"), spikedChemicals = "atrazine")

## End(Not run)

meowcat/RMassScreening documentation built on Jan. 9, 2020, 10:49 p.m.