get_result_sets | R Documentation |
Returns queried result set
get_result_sets(
datasets = NA_character_,
resultSets = NA_character_,
filter = NA_character_,
offset = 0,
limit = 20,
sort = "+id",
raw = getOption("gemma.raw", FALSE),
memoised = getOption("gemma.memoised", FALSE),
file = getOption("gemma.file", NA_character_),
overwrite = getOption("gemma.overwrite", FALSE)
)
datasets |
A vector of dataset IDs or short names |
resultSets |
A resultSet identifier. Note that result set identifiers
are not static and can change when Gemma re-runs analyses internally. Whem
using these as inputs, try to make sure you access a currently existing
result set ID by basing them on result sets returned for a particular dataset or
filter used in |
filter |
Filter results by matching expression. Use |
offset |
The offset of the first retrieved result. |
limit |
Defaults to 20. Limits the result to specified amount
of objects. Has a maximum value of 100. Use together with |
sort |
Order results by the given property and direction. The '+' sign indicate ascending order whereas the '-' indicate descending. |
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. |
Output and usage of this function is mostly identical to get_dataset_differential_expression_analyses
.
The principal difference being the ability to restrict your result sets, being able to
query across multiple datasets and being able to use the filter argument
to search based on result set properties.
A data table with information about the queried result sets. Note that this function does not return
differential expression values themselves. Use get_differential_expression_values
to get differential expression values
result.ID
: Result set ID of the differential expression analysis.
May represent multiple factors in a single model.
contrast.ID
: Id of the specific contrast factor. Together with the result.ID
they uniquely represent a given contrast.
experiment.ID
: Id of the source experiment
factor.category
: Category for the contrast
factor.category.URI
: URI for the contrast category
factor.ID
: ID of the factor
baseline.factors
: Characteristics of the baseline. This field is a data.table
experimental.factors
: Characteristics of the experimental group. This field is a data.table
isSubset
: TRUE if the result set belong to a subset, FALSE if not. Subsets are created when performing differential expression to avoid unhelpful comparisons.
subsetFactor
: Characteristics of the subset. This field is a data.table
get_result_sets(dataset = 1)
# get all contrasts comparing disease states. use filter_properties to see avaialble options
get_result_sets(filter = "baselineGroup.characteristics.value = disease")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.