This is a test version of Biostars. For the public version, visit https://www.biostars.org.
The error in erccdashboard

Hi all,

I have some data and I want to use the package erccdashboard to process them. I have set my dataframe exactly the same to the Vignette but it reports me this error:"

Generating ROC curve and AUC statistics...
   Error in prediction(1 - pValDat$Pval[(pValDat$Fold == FCcodeC$FC[i]) |  : 
   label ordering does not match class labels."

could anyone give me a hint what is going on here? Thank you.

> str(mydata)
'data.frame':   29631 obs. of  5 variables:
 $ Feature: Factor w/ 29631 levels "ENSMUSG00000000088",..: 29540 29541 
29542 29543 29544 29545 29546 29547 29548 29549 ...
 $ ctrkd_1: int  40869 4483 16657 1586 0 2 6 0 0 95 ...
 $ ctrkd_2: int  40347 4635 18800 1570 0 1 1 0 0 60 ...
 $ z14kd_1: int  54401 6441 22547 2263 2 1 4 0 0 121 ...
 $ z14kd_2: int  47348 4804 18119 1854 0 4 7 0 0 94 ...
> str(MET.CTL.countDat) #the dataset in vignette 
'data.frame':   16590 obs. of  7 variables:
 $ Feature: Factor w/ 16588 levels "1-Mar","1-Sep",..: 3663 3664 3665 3666 
3667 3668 3669 3670 3671 3672 ...
 $ MET_1  : int  16629 1347 4569 811 0 3 1 0 0 24 ...
 $ MET_2  : int  18798 1565 5570 869 0 1 0 0 0 32 ...
 $ MET_3  : int  26568 1983 6755 1123 0 2 0 0 0 43 ...
 $ CTL_1  : int  36600 3048 1240 909 0 1 1 0 1 5 ...
 $ CTL_2  : int  45436 3447 1484 1073 0 5 1 0 0 13 ...
 $ CTL_3  : int  25163 2195 902 537 0 1 1 0 0 4 ...

>dt <- runDashboard(datType="count", isNorm = F,
                  exTable=mydata,
                  filenameRoot="1",  
                  sample1Name="ctrkd",
                  sample2Name="z14kd", erccmix="RatioPair",
                  erccdilution=1/100, spikeVol=1,
                  totalRNAmass=0.500, choseFDR=0.05)
Generating ROC curve and AUC statistics...
Error in prediction(1 - pValDat$Pval[(pValDat$Fold == FCcodeC$FC[i]) |  : 
  Label ordering does not match class labels.
rna-seq r software error

I am having this exact issue. Were you able to fix it?

0 answers

No answers yet.

Log in to answer this question.