Question: Error in quantro function
0
gravatar for cge
3.4 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 12 months ago by said342780 • written 3.4 years ago by cge0
0
gravatar for said3427
12 months ago by
said342780
Mexico
said342780 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 12 months ago by said342780
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: 1191 users visited in the last hour