Last chance! 50% off unlimited learning
Sale ends in
getBM(attributes, filters = "", values = "", mart, curl = NULL, checkFilters = TRUE, verbose = FALSE, uniqueRows = TRUE, bmHeader = FALSE)
data.frame
. There is no implicit mapping between its rows and the function arguments (e.g. filters
, values
), therefore make sure to have the relevant identifier(s) returned by specifying them in attributes
. See Examples.if (interactive()) {
mart <- useMart("ensembl")
datasets <- listDatasets(mart)
mart <- useDataset("hsapiens_gene_ensembl",mart)
getBM(attributes = c("affy_hg_u95av2", "hgnc_symbol", "chromosome_name", "band"),
filters = "affy_hg_u95av2",
values = c("1939_at","1503_at","1454_at"),
mart = mart)
# rows are sorted by `affy_hg_u95av2`, and in different order than the `values` argument
}
Run the code above in your browser using DataLab