line_clean {itol.toolkit} | R Documentation |
Remove the lines start with # or without any information.
line_clean(lines = NULL, file = NULL)
lines |
a vector of character strings. The strings are containing the lines of template file. If the file parameter is NULL, this parameter should be set. |
file |
a character specifying the template file path. If this parameter is setted, the lines parameter will be replaced. |
a vector of character strings
strs <- c("#comment","DATA")
line_clean(lines=strs)