Thankyou,
Now can you please solve my original problem of mapping these genes on chromosomes.
>getBM(attributes=c("ensembl_gene_id","chromosome_name","start_position","end_position", "strand"), filters = 'ensembl_gene_id', values = "PGSC0003DMG400029744,PGSC0003DMG400027797,PGSC0003DMG400026469,PGSC0003DMG400013627,PGSC0003DMG400020935,PGSC0003DMG400022602,PGSC0003DMG402022603,PGSC0003DMG400010965,PGSC0003DMG400031318,PGSC0003DMG403026432,PGSC0003DMG404026432,PGSC0003DMG400007743,PGSC0003DMG400020580,PGSC0003DMG401020581", mart = mart)
enter code here
No encoding supplied: defaulting to UTF-8.
ensembl_gene_id chromosome_name start_position end_position strand
1 PGSC0003DMG400007743 9 59441573 59449149 -1
2 PGSC0003DMG400010965 6 46762379 46763935 -1
3 PGSC0003DMG400013627 2 37802516 37808556 1
4 PGSC0003DMG400020580 9 59712402 59712980 1
5 PGSC0003DMG400020935 4 21192456 21196161 1
6 PGSC0003DMG400022602 5 6526381 6526863 1
7 PGSC0003DMG400026469 12 50704471 50704855 1
8 PGSC0003DMG400027797 11 9730445 9736116 1
9 PGSC0003DMG400029744 1 81566672 81567534 -1
10 PGSC0003DMG400031318 6 46918570 46923865 -1
11 PGSC0003DMG401020581 9 59721273 59722508 1
12 PGSC0003DMG402022603 5 6537348 6538458 1
13 PGSC0003DMG403026432 9 59382012 59383726 -1
14 PGSC0003DMG404026432 9 59385823 59386293 -1
My session info:
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/atlas-base/atlas/libblas.so.3.0
LAPACK: /usr/lib/atlas-base/atlas/liblapack.so.3.0
locale:
[1] LC_CTYPE=en_IN.UTF-8 LC_NUMERIC=C LC_TIME=en_IN.UTF-8 LC_COLLATE=en_IN.UTF-8 LC_MONETARY=en_IN.UTF-8
[6] LC_MESSAGES=en_IN.UTF-8 LC_PAPER=en_IN.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_IN.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] grid parallel stats4 stats graphics grDevices utils datasets methods base
other attached packages:
[1] quantsmooth_1.44.0 quantreg_5.34 SparseM_1.77 Gviz_1.22.2
[5] devtools_1.13.4 GenomeGraphs_1.38.0 biomaRt_2.34.1 BSgenome.Celegans.UCSC.ce6_1.4.0
[9] BSgenome.Osativa.MSU.MSU7_0.99.1 BiocInstaller_1.28.0 karyoploteR_1.4.1 regioneR_1.10.0
[13] BSgenome_1.46.0 rtracklayer_1.38.2 Biostrings_2.46.0 XVector_0.18.0
[17] GenomicRanges_1.30.1 GenomeInfoDb_1.14.0 IRanges_2.12.0 S4Vectors_0.16.0
[21] BiocGenerics_0.24.0 memoise_1.1.0
Have you checked on the solution suggested in the error you received?
yup..
also i tried..
hi 1234anjalianjali1234,
If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted.