mart_dat: The list of biomart datasets

Description Usage Format Examples

Description

the list of datasets of biomart from several different marts(See examples).

Usage

1

Format

An object of data frame with 367 rows and 5 colmns.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# # It is created by follows using biomaRt
## Not run: 
library(biomaRt); library(dplyr)
marts <- c("ENSEMBL_MART_ENSEMBL", "plants_mart", "fungi_mart", "protists_mart", "metazoa_mart")
hosts <- c("asia.ensembl.org", "plants.ensembl.org", "fungi.ensembl.org",
           "protists.ensembl.org", "metazoa.ensembl.org" )
l_dsets_mart <- mapply(function(x,y){
  listDatasets(useMart(biomart = x, host = y), verbose = F) %>%
  mutate(biomart=rep(x, nrow(.)), host_name=rep(y, nrow(.))) %>%
  dplyr::select(c(4,5,1:3))
  },
  x = marts, y = hosts, SIMPLIFY = F
  )
mart_dat <- Reduce(rbind, l_dsets_mart)

## End(Not run)

shkonishi/rskodata documentation built on June 24, 2019, 1:03 p.m.