It seems there is a problem with the code (maybe was not updated by the authors)
I did the following changes in the virtualArrayBuildfData
function, I remove the lines 62 and 63:
rownames(exprs_z$data) <- exprs_z$labels[[1]][, 1] #this line
colnames(exprs_z$data) <- exprs_z$labels[[2]][, 1] #this line
exprs_z <- exprs_z$data
And replaced it as following (highlighted lines)
message("Now preprocessing raw data of ", as.character(x),
": Annotating expression values with ", as.character(identifier),
"...")
#rownames(exprs_z$data) <- exprs_z$labels[[1]][, 1] #this line
#colnames(exprs_z$data) <- exprs_z$labels[[2]][, 1] #this line
rownames(exprs_z) <- exprs_z$identifier #this line
exprs_z <- exprs_z[,-1] #this line
exprs(z) <- data.matrix(exprs_z, rownames.force = TRUE)
match_fData_y2 <- match(rownames(exprs(z)), fData(z)[, 2])
fData(z) <- fData(z)[match_fData_y2, ]
In my case the package cannot find the function calculateOverlaps
if you get the same issue you can copy past the code from here
Hope it helps (even if it is 5 months later)
It's usually easier if you show the command that produced the error.
I think if you paste more code, from the start, and something reproducible, it will be more helpful.
Hi Komal,
This is the examples that I followed:
Then I got this error:
Please help
I am getting exactly the same error, and I referred to the manual step by step. I am still trying to figure out what's wrong but I am pretty sure you are not doing anything incorrect, it is something with the code.
Hi Komal,
do you think there's any ways of getting round it?
thanks
It's probably simpler to simply post this to the bioconductor email list and CC the maintainer (aheider at trm.uni-leipzig.de). This looks like either a bug in the package or an error in the manual. Either way, it'd be simpler to just have the maintainer fix that.
Hopefully you get a speedy reply from the maintainer (I just saw that you posted to the bioconductor list) :)
fingers crossed
thanks
hi,
I have also been trying out this package and been getting the same error as hothriananya. Anyone could kindly advise please?
Hi Sirus,
I have the same problems with this packages! and after adding your modified code in the virtualArrayExpressionSets function, there is another error for the function
calculateOverlaps
; unfourtunately the link that you have posted does not work :(. Could you help me with this function which R does not find? thks