getGeneInfo-methods: description of function getEnsembl

Description Usage Arguments Value Examples

Description

getGeneInfo is a powerful function, that uses the annotation packages RSQLite tables to select information.

Usage

1
2
3
4
5
6
7
8
9
getGeneInfo(
  x,
  species = "mMus",
  from,
  from_tab = NULL,
  what = "symbol",
  what_tab = NULL,
  tab.res = FALSE
)

Arguments

x

the query string or a vector of query strings

species

either 'mMus', 'Hs' or a AnnotationDbi object

from

the column that corresponds to the x values

from_tab

if the column is defined in more thanone table the specififc table name

what

which column do you want to get (only one)

what_tab

analogue to the from_tab the table name containing the colmn if more than one table contains the info

tab_res

return all results as table (to check the results; default = FALSE)

Value

A vector of ids

Examples

1
2
3
4
5
6
7
8
CellCycle_gene_symbols <- getGeneInfo(
			"GO:0007049", species = 'mMus', from= 'go_id', from_tab='go' 
)
CellCycle_ensembl_ids <- getGeneInfo(
			"GO:0007049", species = "Hs", from = "go_id", from_tab = "go", 
			what='ensembl_id', what_tab="ensembl")
Complement_and_coagulation_cascades_gene_symbols <- getGeneInfo(
			'04610', species = 'Hs', from = 'path_id', what= 'symbol' )

stela2502/BioData documentation built on Feb. 23, 2022, 5:47 a.m.