prepare_geo | R Documentation |
This function downloads gene expression data from the Gene Expression Omnibus (GEO) database. It retrieves either the expression matrix or the supplementary tabular data if the expression data is not available. The function also allows for the conversion of probe identifiers to gene symbols and can combine multiple probes into a single symbol.
prepare_geo(geo, dir = ".", combine = TRUE, method = "max")
geo |
A character string specifying the GEO Series ID (e.g., "GSE12345"). |
dir |
A character string specifying the directory where files should be downloaded. Default is the current working directory ( |
combine |
A logical value indicating whether to combine multiple probes into a single gene symbol. Default is |
method |
A character string specifying the method to use for combining probes into a single gene symbol. Options are |
A list containing:
data |
A data frame of the expression matrix. |
sample |
A data frame of the sample metadata. |
feature |
A data frame of the feature metadata, which includes gene symbols if combining probes. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.