get_dataset_samples | R Documentation |
Retrieve the samples of a dataset
get_dataset_samples(
dataset,
raw = getOption("gemma.raw", FALSE),
memoised = getOption("gemma.memoised", FALSE),
file = getOption("gemma.file", NA_character_),
overwrite = getOption("gemma.overwrite", FALSE)
)
dataset |
A numerical dataset identifier or a dataset short name |
raw |
|
memoised |
Whether or not to save to cache for future calls with the
same inputs and use the result saved in cache if a result is already saved.
Doing |
file |
The name of a file to save the results to, or |
overwrite |
Whether or not to overwrite if a file exists at the specified filename. |
A data table with information about the samples of the queried dataset. A list if
raw = TRUE
. A 404 error
if the given identifier does not map to any object.
The fields of the output data.table are:
sample.name
: Internal name given to the sample.
sample.ID
: Internal ID of the sample
sample.description
: Free text description of the sample
sample.outlier
: Whether or not the sample is marked as an outlier
sample.accession
: Accession ID of the sample in it's original database
sample.database
: Database of origin for the sample
sample.characteristics
: Characteristics of the sample. This field is a data table
sample.factorValues
: Experimental factor values of the sample. This field is a data table
head(get_dataset_samples("GSE2018"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.