Bug ? Counts used as fold changes
colindaven opened this issue · 4 comments
Hi,
I believe I have found a bug.
If I have two replicates
sample_Rep1
sample_Rep2
in the csv things work as expected.
If however the headers are
sample
sample_Rep2
then the fold changes are not computed (or not used), and the fold change is the same as the first count. Implications - false "fold changes" as very wrong, and always positive.
This behaviour can be corrected by renaming samples as sample_Rep1 and sample_Rep2.
cheers
Thanks I think the bug might be if a replicate is named the same as one of the created condition names. This is a little tricky to fix - I'll give it some thought.
Perhaps the pragmatic solution - Degust condition names could be checked and not accepted if they have the same name as one of the replicates.
I think @colindaven idea of rejecting duplicate names is a good one.
But "evil me" says you deserve everything you get if you name conditions the same as samples ;-)
Error check added