useDataset: Select a dataset to use and updates Mart object

Description Usage Arguments Author(s) Examples

View source: R/biomaRt.R

Description

This function selects a dataset and updates the Mart object

Usage

1
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

Author(s)

Steffen Durinck

Examples

1
2
3
4
if(interactive()){
mart=useMart("ensembl")
mart=useDataset("hsapiens_gene_ensembl", mart = mart)
}

biomaRt documentation built on Nov. 8, 2020, 5:07 p.m.