Entering edit mode
11.2 years ago
User 1933
▴
360
I have a set of CNV regions and I want to know what genes/promoters/enhancers/etc are there. I am using Biomart under Bioconductor and in Biomart package in R, the example is like this,
human = useMart("ensembl", dataset = "hsapiens_gene_ensembl")
getLDS(attributes = c("hgnc_symbol","chromosome_name", "start_position"), filters = "hgnc_symbol", values = "TP53", mart = human, attributesL = c("chromosome_name","start_position"), martL = human)
However, I would like to do something vise verse, my input is like "chr1:100,100000" and I would like to get a list of annotation
Edited your code; I think it should read:
Also - this code does not return "genes, promoters, enhancers etc." It returns this: