Hi,
Really interesting work and really thankful for the general ease of use!
The data I have has several subjects,each belonging to either control or treatment so the formula i am trying is
lemur(sce, design = ~ subject + condition, n_embedding = 30, test_fraction = 0.5)
however I am getting this error
Error in handle_design_parameter(design, data, col_data) :
The model matrix seems degenerate ('matrix_rank(design_matrix) < ncol(design_matrix)'). Some columns are perfectly collinear. Did you maybe include the same coefficient twice?
Now my understanding is that the one-hot encoding for each of control and treatment is being declared as collinear, could you please tell me how one can run a typical multi-subject (assuming them to be biological replicates) two condition analysis ..
appreciate any help.
thanking you
shobhit
Hi,
Really interesting work and really thankful for the general ease of use!
The data I have has several subjects,each belonging to either control or treatment so the formula i am trying is
lemur(sce, design = ~ subject + condition, n_embedding = 30, test_fraction = 0.5)
however I am getting this error
Error in handle_design_parameter(design, data, col_data) :
The model matrix seems degenerate ('matrix_rank(design_matrix) < ncol(design_matrix)'). Some columns are perfectly collinear. Did you maybe include the same coefficient twice?
Now my understanding is that the one-hot encoding for each of control and treatment is being declared as collinear, could you please tell me how one can run a typical multi-subject (assuming them to be biological replicates) two condition analysis ..
appreciate any help.
thanking you
shobhit