Hi,
I am following different strategies while clustering I don't know if I performed properly the annotation while using clustering with external information. As I need to specify the regions to be annotated I have used the predefined object "promoter" as follows:
require(TxDb.Mmusculus.UCSC.mm9.knownGene) promoter<-promoters(TxDb.Mmusculus.UCSC.mm9.knownGene) head(promoter)
And then while annotating:
require(org.Mm.eg.db) anno<- detailRanges(promoter, txdb=TxDb.Mmusculus.UCSC.mm9.knownGene, orgdb=org.Mm.eg.db, promoter=c(3000,1000), dist=5000) head(anno$overlap)
Is it ok? I think it is , but I got this message:
Warning message: In detailRanges(promoter, txdb = TxDb.Mmusculus.UCSC.mm9.knownGene, : strandedness in incoming regions is ignored when overlapping
Thanks!!
Sergio
Well maybe there is no need to specify the distance, and I can do just:
anno.ranges<-detailRanges(promoter,txdb=TxDb.Mmusculus.UCSC.mm9.knownGene, orgdb=org.Mm.eg.db)
But I get the same warning