getSnpByGene: getSnpByGene

Description Usage Arguments Value Examples

View source: R/user.R

Description

A convienice method to fetch known variants (snps) for specific gene/s

Usage

1
getSnpByGene(object, id, param = NULL)

Arguments

object

an object of class CellBaseR

id

a charcter vector of HUGO symbol (gene names)

param

an object of class CellBaseParam

Value

a dataframe of the query result

Examples

1
2
3
cb <- CellBaseR()
param <- CellBaseParam(limit = 10)
res <- getSnpByGene(cb, "TET1", param = param)

cellbaseR documentation built on Nov. 8, 2020, 5:38 p.m.