setMake: Create a gene set

Description Usage Arguments Value Examples

View source: R/customSets.R

Description

Imports: GSEABase, AnnotationDbi, limma

Usage

1
setMake(name, IDs, species, translate = NA, pmids = "", desc1 = "", desc2 = "")

Arguments

name

string, give the set a short descriptive name

IDs

vector of identifiers (strings or integers)

species

string, either "Homo sapiens" or "Mus musculus"

translate

string, translate IDs to EntrezIDs. Must be avlid for mapIds (e.g. "SYMBOL" or "ENSEMBL")

pmids

string, Pubmed ID

desc1

string, e.g. GSE-ID, Material, Comparison

desc2

string, e.g. Experiment (RNA-Seq, Microarray etc.), Acquisition (was the set given in the supplement or calculated by yourself, what parameters were used?)

Value

Vector of human Entrez IDs (or, if matrix=T, a matrix of mouse and human Entrez IDs)

Examples

1
2
IDs <- setRead("up", path=myPath)
set <- setMake("mySet", IDs, "Homo sapiens")

Solatar/setR documentation built on Dec. 5, 2020, 10:50 p.m.