getStableGenes: Get a list of stably expressed genes

Description Usage Arguments Value Examples

View source: R/stableGenes.R

Description

Get a list of genes that are stably expressed in cancer and normal solid tissue.

Usage

1
2
3
4
5
getStableGenes(
  n_stable,
  type = c("carcinoma", "blood"),
  id = c("geneid", "ensembl")
)

Arguments

n_stable

numeric, number of stable genes to retrieve

type

character, type of stable genes requested, stable genes in "carcinoma" or stable genes in "blood"

id

character, gene identifier required. This can be either "geneid" for symbols or "ensembl" ensembl id)

Value

a character vector with gene IDs sorted by their expected expression levels in the requested tissue

Examples

1
2
3
getStableGenes(5)
getStableGenes(5, id = 'ensembl')
getStableGenes(5, type = 'blood')

singscore documentation built on Nov. 8, 2020, 8:27 p.m.