Dear Michael,
In the following coldata I'm obtaining Model matrix not full rank error. I can't remove the batch effect, I want to take it into consideration. As I concluded its replicates and batch that are a linear combination, when I try the same design without one of them it works normally. And I can't remove the replicate effect as well. Any suggestions?
Thank you.
colData:
replicate | surgeon | batch | time | |
Ctl.1 | R7 | Bruno | a | t0 |
Ctl.2 | R8 | Bruno | a | t0 |
Ctl.3 | R2 | Lionel | d | t0 |
Ctl.4 | R5 | Bruno | c | t0 |
Ctl.5 | R6 | Bruno | b | t0 |
Ctl.6 | R1 | Bruno | f | t0 |
Ctl.7 | R3 | Lionel | g | t0 |
Ctl.8 | R4 | Lionel | g | t0 |
Sham0.1 | R7 | Bruno | a | t1 |
Sham0.2 | R8 | Bruno | a | t1 |
Sham0.3 | R6 | Lionel | a | t1 |
Sham0.4 | R3 | Lionel | c | t1 |
Sham0.5 | R5 | Bruno | c | t1 |
Sham0.6 | R4 | Lionel | b | t1 |
Sham0.7 | R1 | Lionel | e | t1 |
Sham0.8 | R2 | Bruno | e | t1 |
Sham45.1 | R8 | Bruno | a | t2 |
Sham45.2 | R7 | Bruno | a | t2 |
Sham45.3 | R2 | Lionel | d | t2 |
Sham45.4 | R1 | Bruno | d | t2 |
Sham45.5 | R3 | Lionel | c | t2 |
Sham45.6 | R5 | Bruno | c | t2 |
Sham45.7 | R4 | Lionel | c | t2 |
Sham45.8 | R6 | Bruno | b | t2 |
Sham24.1 | R8 | Bruno | a | t3 |
Sham24.2 | R7 | Bruno | a | t3 |
Sham24.3 | R1 | Bruno | d | t3 |
Sham24.4 | R2 | Lionel | d | t3 |
Sham24.5 | R5 | Lionel | c | t3 |
Sham24.6 | R4 | Bruno | c | t3 |
Sham24.7 | R6 | Lionel | b | t3 |
Sham24.8 | R3 | Lionel | g |
t3 |

