Hi there,
I have only beta values available to me in a matrix from 450k array data. I am trying to load the values into minfi as a GenomicRatioSet but keep getting the same error:
> ratioSet <- ratioConvert(betaM, what="beta", keepCN=TRUE)
> Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘ratioConvert’ for signature ‘"matrix"’
I tried to make the matrix a dataframe instead and I get the same error except with the word "matrix" replaced with "data.frame".
I would like to use the getSex check in minfi and this requires loading in the GenomicRatioSet.
Any help you can provide would be greatly appreciated.
Thank you so much for your fast and very helpful reply.
Hi Kasper,
I was able to load the data into a GenomicRatioSet using your advice. However, when I run GetSex, I get the following error - presumably because I do not have CN values available to me. Is there a way around this?
> Error in .getSex(CN = CN, xIndex = xIndex, yIndex = yIndex, cutoff = cutoff) :
must provide CN, xIndex, and yIndex
Just beta values unfortunately.
Okay, thank you, that makes sense. I appreciate your assistance.