useDataset {biomaRt}R Documentation

Select a dataset to use and updates Mart object

Description

This function selects a dataset and updates the Mart object

Usage

useDataset(dataset,mart)

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

Author(s)

Steffen Durinck, http://www.stat.berkeley.edu/~steffen

Examples

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

[Package biomaRt version 1.16.0 Index]