Question: Error in quantro function
0
gravatar for cge
4.3 years ago by
cge0
United States
cge0 wrote:

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 unfornunately it wasn't.

Thanks

SP

 

ADD COMMENTlink modified 22 months ago by said342790 • written 4.3 years ago by cge0
0
gravatar for said3427
22 months ago by
said342790
Mexico
said342790 wrote:

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 COMMENTlink written 22 months ago by said342790
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 798 users visited in the last hour