Entering edit mode
I ran this following code using a small data and the sex was predicted but when I increased the number of data the sex prediction didn't work anymore. Can someone help me to figure out the problem with the following error. error appears after clicking sex_calc. Enter the body of text here
Sex Prediction
dir.create("Sex Prediction") GRset <- mapToGenome(RGSet) sex_calc <- getSex(GRset, cutoff = -2) GRset <- addSex(GRset, sex = sex_calc)
Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1)
And I think Km_Cluster doesn't work.
You may have non numeric value in your
sex_calc
object, what is the output ofhead(sex_calc
) ?