combine_objects: Merge samples with common gene names from selected studies

View source: R/combine_objects.R

combine_objectsR Documentation

Merge samples with common gene names from selected studies

Description

Merge samples with common gene names from selected studies

Usage

combine_objects(object_list, experiment_name, update_genes = TRUE)

Arguments

object_list

A list of MultiAssayExperiment or SummarizedExperiment objects. The object's assay contain expression data with probes mapped to gene symbol. names(object_list) should not be NULL.

experiment_name

A character/vector of character to choose the name of the assay from the input list of object.

update_genes

Boolean. Indicate whether update the gene symbols using checkGeneSymbols. Default is TRUE.

Value

A SummarizedExperiment object that contains combined data from the input.

Examples

geo <-  c("GSE19435", "GSE19439")
data_list <-  curatedTBData(c("GSE19435", "GSE19439"),
                            dry.run = FALSE, curated.only = TRUE)
combine_objects(data_list, experiment_name = "assay_curated")

compbiomed/curatedTBData documentation built on March 14, 2024, 2:08 p.m.