Error in quantro function
1
0
Entering edit mode
9.1 years ago
cge ▴ 20

Hi,

I am using the function "quantro" (library R-quantro) to test the distribution of beta values among cases and controls to assess if it is necessary perform the quantile normalization. Test data provided in the vignette worked, but when I try with my data I get this error:

qtest <- quantro(object = MetDataset, groupFactor = Status$Status)
[quantro] All median values equal. No ANOVA performed. 
                    No median normalization.
[quantro] Calculating the quantro test statistic.
Error in Fnik[, which(groupFactor %in% x)] : 
  incorrect number of dimensions

Anyone did struggle with this? In the beginning I thought it was just an error of the number of cases/controls in the groupFactor object, but it unfortunately it wasn't.

Thanks

SP

normalization quantro methylation • 1.8k views
ADD COMMENT
0
Entering edit mode
6.7 years ago
said3427 ▴ 120

Late response, but I just got the same error.

You have to remove rows containing NaNs

Try:

qtest <- quantro(object = MetDataset[complete.cases(MetDataset),], groupFactor = Status$Status)
ADD COMMENT

Login before adding your answer.

Traffic: 1584 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6