
Search for Wetlab Samples in the EPPIcenter SampleDB database
SearchByType.RdSearch for wetlab samples.
Usage
SearchByType(
sample_storage_type = NULL,
control_type = NULL,
filters = NULL,
format = NULL,
database = Sys.getenv("SDB_PATH"),
config_yml = Sys.getenv("SDB_CONFIG"),
include_internal_sample_id = FALSE
)Arguments
- sample_type
A string specifying the type of EPPIcenter sample. (
micronix,cryovile,rdtand/orpaper)- sample_label
A list of vectors specifying the vector micronix, cryovile, rdt, and paper label names (
micronix.label_name,cryovile.label_name,rdt.label_nameand/orpaper.label_name)- container_name
A list of vectors specifying the vector micronix, cryovile, rdt, and paper container names (
micronix.container_name,cryovile.container_name,rdt.container_nameand/orpaper.container_name)- study_subject
A study subjects string or a vector of study name strings. If
study_subject.fileis TRUE the path to a .csv file containing one column named study_subject can be uploaded and used to search the database for study subjects.- specimen_type
A specimen type string or a vector of specimen type strings.
- study
A study short code string or a vector of study short code strings.
- collection_dates
A list of date values strings (
date.toanddate.from) that can be used to filter EPPIcenter samples- archived
A logical value.
TRUEfilters for archived samples andFALSEfilters for active samples- freezer
A list specifying the vector
name,level_I, and/orlevel_II- return_sample_ids
A logical value. Setting
return_sample_idstoTRUEmeansSearchSamplesreturns sample ids as well as search results. Settingreturn_sample_idstoFALSEmeansSearchSamplesreturns only search results. Default value isFALSE.