In the .gmt files I've encountered, there is a \r carriage return expression in addition to the \n newline expression. When the lines are read into a character vector, this \r is appended to the last gene in the pathway. This hasn't caused any bugs however, because R drops the "\r" from any character string it evaluates. Still a problem though.
In the
.gmt
files I've encountered, there is a\r
carriage return expression in addition to the\n
newline expression. When the lines are read into a character vector, this\r
is appended to the last gene in the pathway. This hasn't caused any bugs however, because R drops the"\r"
from any character string it evaluates. Still a problem though.