Jiří Moravec
09/06/2024, 11:51 PM- in their name, RNAseq pipeline produce salmon.merged_.gene_counts.tsv where the minus is replaced with dot. So when I try to run the differentialabundance pipeline using the original sample names, it complains that they are not found.
This might be a default behaviour of R which tries to automatically fix column names when reading using read.table or just when creating a data.frame with data.frame
Expected behaviour: Input sample names should not be altered.Matthias Zepper
09/07/2024, 5:30 AMJiří Moravec
09/07/2024, 7:03 AM- in column names if properly told to:
data.frame("foo-bar" = "baz") # converts to foo.bar
data.frame("foo-bar" = "baz", check.names = FALSE) # leaves as is
So IMHO, this is a fixable bug, but I have no idea where it needs to be fixed, whether inside DESeq or there is just some custom script that malforms the names.
If the desire is to leave it as is, documentation or even check (like there is for a space in path) should be IMHO implemented.Thomas Danhorn
09/07/2024, 7:03 AMtximport in R, which does that, as you say (column names are supposed to be proper identifiers without special characters).
Whether this should be this way is a debatable. I tend to agree with you that changing column names can be annoying. On the other hand, one might argue that these tables are probable being further analyzed in R again, where (unless the user is savy) the names will end up with dots anyway.Thomas Danhorn
09/07/2024, 7:06 AMdata.frames but several objects involved.Jiří Moravec
09/07/2024, 7:06 AMOn the other hand, one might argue that these tables are probable being further analyzed in R again, where (unless the user is savy) the names will end up with dots anyway.Skill issue. 😛 I will be happy to implement a similar check as is there for space in path. Point me where and I will do it tomorrow.
Jiří Moravec
09/07/2024, 7:08 AM- in column names.Thomas Danhorn
09/07/2024, 7:15 AMJiří Moravec
09/07/2024, 7:18 AMJiří Moravec
09/07/2024, 7:20 AM