You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I had previously used NOISeq with covariates in the factor argument but now I am getting an error
` PrePost_noiseq<-
NOISeq::noiseq(
PrePost.UQ_batchCorrection2,
factor=c("Group", "Age"),
k=NULL,
norm = "n",
conditions = c("PRE","POST"),
pnr = 0.2,
nss = 5,
v = 0.02,
lc = 1,
replicates="no"
)
"Computing (M,D) values..."
Error in if (factor == i) { : the condition has length > 1`
is there any way to include covariates?
The text was updated successfully, but these errors were encountered:
The covariates must be included in the NOISeq object you input to noiseq function. In your case, is PrePost.UQ_batchCorrection2 a noiseq object? If so, and the factors are well defined in that object, in argument factor, you just can pick up one factor at a time (either Group or Age, but not both). Please, read again the package documentation and let me know if it worked.
Hello! I had previously used NOISeq with covariates in the factor argument but now I am getting an error
` PrePost_noiseq<-
NOISeq::noiseq(
PrePost.UQ_batchCorrection2,
factor=c("Group", "Age"),
k=NULL,
norm = "n",
conditions = c("PRE","POST"),
pnr = 0.2,
nss = 5,
v = 0.02,
lc = 1,
replicates="no"
)
"Computing (M,D) values..."
Error in if (factor == i) { : the condition has length > 1`
is there any way to include covariates?
The text was updated successfully, but these errors were encountered: