Hello,
did u fix the error?
I found the same error with the function T.fit, using normalized counts for 3 samples (time course experiment for 1 condition).
I normalized the count with deseq2:
dds2 <- estimateSizeFactors(ddsMat)
ddsNorm <- counts(dds2, normalized=TRUE)
[.....]
The first steps work properly but when I arrive at:
NBt <- T.fit(NBp)
Error in if (group != indepen) { : missing value where TRUE/FALSE needed
I read this thread and I filtered my dataset to remove 0 values (also using "crazy" values to be sure to remove them), but I get the same error. Any suggestion? Has the function been tested also for time course experiment with 1 condition?
Thank you very much in advance for any help.
I.
Hi,
I had the same issue and I had normalized my data already with cuffnorm. The answer from Maria Nueda pointed me to the solution. I removed the rows (genes) who have zero for all time points:
>fit0 <- p.vector(glurep_data_FPKM, design, counts = TRUE,min.obs=10)
Error in if (model.glm$null.deviance == 0) { : missing value where TRUE/FALSE needed
>glurep_data_FPKM_nz <- glurep_data_counts[ rowSums(glurep_data_counts)!=0, ]
>fit <- p.vector(glurep_data_FPKM_nz, design, counts = TRUE,min.obs=10)
and it worked.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.