biomaRt (version 2.28.0)

useDataset: Select a dataset to use and updates Mart object

Description

This function selects a dataset and updates the Mart object

Usage

useDataset(dataset,mart, verbose = FALSE)

Arguments

dataset
Dataset you want to use. List of possible datasets can be retrieved using the function listDatasets
mart
Mart object created with the useMart function
verbose
Give detailed output of what the method is doing, for debugging

Examples

Run this code
if(interactive()){
mart=useMart("ensembl")
mart=useDataset("hsapiens_gene_ensembl", mart = mart)
}

Run the code above in your browser using DataCamp Workspace