Format a string of comma-separated gene symbols for use in enrichment_network_vis().
Arguments
- x
 character, comma-separated gene symbols
- return_N
 boolean, whether to prepend the concatenated gene symbols with the number of unique gene symbols.
TRUEby default.- collapse
 boolean, whether to collapse the gene symbols into a comma-separated string. If not, return a vector of unique gene symbols.
TRUEby default.
Value
either a string of comma-separated gene symbols,
a vector of unique gene symbols,
or a named list with two values ("N" and "genes")
depending on the values of return_N and collapse.