Dear All,
I have installed VariantAnnotation and I am doing the following to locate variants
library(VariantAnnotation)
library(TxDb.Mmusculus.UCSC.mm9.knownGene)
txdb <- TxDb.Mmusculus.UCSC.mm9.knownGene
head(seqlevels(txdb))
peak.file =read.table ("D:\\lena\\TOTAL.peak.target.genes.list.txt", header=T, sep='\t')
pr <- RangedData(IRanges(start=peak.file$start, end=peak.file$end), space=peak.file$chromosome, idx=1:nrow(peak.file))
loc <- locateVariants(pr, txdb, CodingVariants())
and I get the following error....
Error in function (classes, fdef, mtable) :
unable to find an inherited method for function "locateVariants", for signature "RangedData", "TranscriptDb"
Do you have any idea what it means?
I would thought that the installation wasn't ok but when I check into my libraries I can see the varriantannotation library
What should I do?
Thank you
Best regards
Lena
chip-seq