R/getMartDatasets.R

Defines functions getMartDatasets

Documented in getMartDatasets

getMartDatasets <-
function ()
{
	if (requireNamespace("biomaRt",quietly=TRUE)) {ensemblMart <- biomaRt::useMart("ensembl")} else {stop("biomaRt package must be installed to use this function")}
	if (requireNamespace("biomaRt",quietly=TRUE)) {Datasets <- biomaRt::listDatasets(ensemblMart)} else {stop("biomaRt package must be installed to use this function")}
	return(Datasets)
}

Try the stringgaussnet package in your browser

Any scripts or data that you put into this service are public.

stringgaussnet documentation built on May 29, 2017, 10:50 a.m.