is_gene_membrane: Queries gene symbols and returns if they are annotated as...

Description Usage Arguments Details Value Examples

View source: R/utils.R

Description

returns a logical vector indicating wether there is a GO annotation corresponding to *integral component of membrane*. the species to be queried can be changed by using the corresponging database.

Usage

1
2
3
4
5
is_gene_membrane(
  gene_symbols,
  db = org.Hs.eg.db::org.Hs.eg.db,
  evidence_codes = c("EXP", "IDA", "IPI", "IMP", "IGI")
)

Arguments

gene_symbols

a character vector of gene symbols. zb: CD1A

db

a database that inherits the select property. defaults to org.Hs.eg.db

evidence_codes

the evidence codes that will be considered for the annotation. if set to null will return all annotations. defaults to c("EXP", "IDA", "IPI", "IMP", "IGI")

Details

Can also filter the annotations by the level of annotation desired. For additional information on the accepted annotation codes please visit http://geneontology.org/docs/guide-go-evidence-codes/

Value

logical vector indicating which gene_symbols match the criteria.

Examples

1
2
is_gene_membrane(c("CD4", "UPP1"))
# [1]  TRUE FALSE

jspaezp/sctree documentation built on April 30, 2020, 10:36 p.m.