getSnpByGene {cellbaseR} | R Documentation |
A convienice method to fetch known variants (snps) for specific gene/s
getSnpByGene(object, id, param = NULL)
object |
an object of class CellBaseR |
id |
a charcter vector of HUGO symbol (gene names) |
param |
an object of class CellBaseParam |
a dataframe of the query result
cb <- CellBaseR() param <- CellBaseParam(limit = 10) res <- getSnpByGene(cb, "TET1", param = param)