allSameID: Set all datasets in the same ID

View source: R/allSameID.R

allSameIDR Documentation

Set all datasets in the same ID

Description

Set all datasets in the same ID (Official Gene Symbol, Entrez or Ensembl)

Usage

allSameID(objectMA, finalID = "GeneSymbol",
    organism="Homo sapiens")

Arguments

objectMA

A list of list. Each list contains two elements. The first element is the expression matrix (genes in rows and sample in columns) and the second element is a vector of zeros and ones that represents the state of the different samples of the expression matrix. 0 represents one group (controls) and 1 represents the other group (cases). The result of the CreateobjectMA can be used too.

finalID

A character that indicates the final ID all the different studies will have. To know the available ids, you can write avaliableIDs.

organism

A character that indicates the organism of the data. To know the avaliable organisms write avaliableOrganism

Value

The same list with all the datasets in the same selected gene ID.

Author(s)

Juan Antonio Villatoro Garcia, juanantoniovillatorogarcia@gmail.com

See Also

createObjectMA

Examples

data(DExMAExampleData)
sameData <- allSameID(objectMA = maObjectDif, finalID = "GeneSymbol", 
organism = "Homo sapiens")
sameData

Juananvg/DExMA documentation built on Dec. 5, 2023, 1:12 p.m.