View source: R/file_format_io.R
read_tx2gene_from_genemap | R Documentation |
This function reads a file in the Salmon "geneMap" format into a data frame. The format of this file is described in salmon's help text for the "–geneMap" command-line option.
read_tx2gene_from_genemap(fname)
fname |
The file to read from. This should generally be a file named "genemap.txt" in a Salmon index directory |
A data frame with 2 columns named "TXNAME" and "GENEID".
Since this uses read_table_general()
and allows additional
columns to be present beyond the first two, it is actually quite
lenient about the format of the table.
The "–geneMap" option to salmon, whose help text describes the format of the file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.