Description Usage Arguments Value Note References See Also Examples
View source: R/getBioMartData.R
A function leveraging the biomaRt
package to retrieve gene chromosome and start and end positions from Ensembl.
1 | getBioMartData(genes,verbose=FALSE,...)
|
genes |
A vector of gene names matching |
verbose |
A Boolean indicating whether to output the funcitons progress in terms of the dimensions of the |
... |
Additional arguments passed on to the internal call to |
A data.frame
object with columns 'gene','chr','start', and 'end', suitable for input to the setGeneTable
function.
At the time of package release, the BioMart community portal is temporarily unavailable. See www.biomart.org for updated status or more information. To access alternative hosts, pass additional arguments to the internal call to biomaRt::useMart(...)
, as in the second example below.
Durinck S., Spellman P.T., Birney E. and Huber W. (2009) Mapping identifiers for the integration of genomic datasets with the R/Bioconductor package biomaRt, Nature Protocols, 4, 1184–1191.
1 2 3 4 5 6 7 8 | ## Not run:
getBioMartData(c("BRCA1","BRCA2"))
getBioMartData(c("BRCA1","BRCA2"),
host="www.ensembl.org",
biomart="ENSEMBL_MART_ENSEMBL",
dataset="hsapiens_gene_ensembl")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.