You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' Retrieves the differential expression resultSet(s) associated with the dataset.
257
-
#' If there is more than one resultSet, use [getDatasetResultSets()] or [getDatasetDEA()] to see
258
-
#' the options and get the ID you want. Alternatively, you can query the resultSet
256
+
#' Retrieves the differential expression result set(s) associated with the dataset.
257
+
#' If there is more than one result set, use [getDatasetResultSets()] or [getDatasetDEA()] to see
258
+
#' the options and get the ID you want. Alternatively, you can query the resultset
259
259
#' directly if you know its ID beforehand.
260
+
#'
261
+
#' In Gemma each result set corresponds to
262
+
#' the estimated effects associated with a single factor in the design, and each can have multiple contrasts (for each level compared to baseline).
263
+
#' Thus a dataset with a 2x3 factorial design will have two result sets, one of which will have one contrast, and one having two contrasts.
260
264
#'
261
-
#' Methodology for differential expression is explained in \href{https://doi.org/10.1093/database/baab006}{Curation of over 10000 transcriptomic studies to enable data reuse}. Specifically, "differential expression analysis is performed on the dataset based on the annotated experimental design. In cases where certain terms are used (e.g. ‘reference substance role’ (OBI_0000025), ‘reference subject role’ (OBI_0000220), ‘initial time point’ (EFO_0004425), ‘wild type genotype’ (EFO_0005168), ‘control’ (EFO_0001461), etc.), Gemma automatically assigns these conditions as the baseline control group; in absence of a clear control condition, a baseline is arbitrarily selected. To perform the analysis, a generalized linear model is fit to the data for each platform element (probe/gene). For RNA-seq data, we use weighted regression, using an in-house implementation of the voom algorithm to compute weights from the mean–variance relationship of the data. Contrasts of each condition are then compared to the selected baseline. In datasets where the ‘batch’ factor is confounded with another factor, separate differential expression analyses are performed on subsets of the data; the subsets being determined by the levels of the confounding factor."
265
+
#' The methodology for differential expression is explained in \href{https://doi.org/10.1093/database/baab006}{Curation of over 10000 transcriptomic studies to enable data reuse}.
266
+
#' Briefly, differential expression analysis is performed on the dataset based on the annotated
267
+
#' experimental design with up two three potentially nested factors.
268
+
#' Gemma attempts to automatically assign baseline conditions for each factor.
269
+
#' In the absence of a clear control condition, a baseline is arbitrarily selected.
270
+
#' A generalized linear model with empirical Bayes shrinkage of t-statistics is fit to the data
271
+
#' for each platform element (probe/gene) using an implementation of the limma algorithm. For RNA-seq data,
272
+
#' we use weighted regression, applying the
273
+
#' voom algorithm to compute weights from the mean–variance relationship of the data.
274
+
#' Contrasts of each condition are then computed compared to the selected baseline.
275
+
#' In some situations, Gemma will split the data into subsets for analysis.
276
+
#' A typical such situation is when a ‘batch’ factor is present and confounded with another factor,
277
+
#' the subsets being determined by the levels of the confounding factor.
0 commit comments