Question: MLSeq reference class is not working
gravatar for palfalvi.gergo
2.1 years ago by
palfalvi.gergo10 wrote:

I am trying to use MLSeq classify() function in R, and I always got an error message:

Error in relevel.factor(conditions, which(levels(conditions) == ref)) : 
  'ref' must be of length one

However my code looks consistent, ref = "c" should be length of one, also tried to set reference level in the factor, nothing worked so far. I think the problem in the model, where I use

~ treatment * hour, so MLSeq wants to use recreated factors, which I cannot figure out.

treatment is a factor with c and t (control, treated) hour is a vector with hours after treatment.

Anyone has an idea how to solve this? Thanks in advance.

rna-seq R software error • 525 views
ADD COMMENTlink written 2.1 years ago by palfalvi.gergo10
Please log in to add an answer.


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