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

getStableGenes(
  n_stable,
  type = c("carcinoma", "blood", "protein"),
  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

getStableGenes(5)
#> [1] "RBM45"  "BRAP"   "CIAO1"  "TARDBP" "HNRNPK"
getStableGenes(5, id = 'ensembl')
#> [1] "ENSG00000155636" "ENSG00000089234" "ENSG00000144021" "ENSG00000120948"
#> [5] "ENSG00000165119"
getStableGenes(5, type = 'blood')
#> [1] "RBM45"  "BRAP"   "GOSR1"  "IWS1"   "HNRNPK"