parse_taxonomy_table(file_path, taxon_col, other_col_type = "obs_info", header = TRUE, sep = "\t", max_lines = NULL, comment_prefix = "#", ...)
character
of length 1)
The file path to the input file.integer
of length 1)
The index of the column with taxonomic information, named by the type of information.
A negative index is interpreted as the number of columns from the last.
The name of the column can have to following values:
character
)
The type of the other columns no specified by taxon_col
. Can be "taxon_info"
or "obs_info"
.logical
of length 1)
If TRUE
, the first row of the file is the column names.character
of length 1)
The character(s) that separate each column in each row.
Can be a regular expression.integer
of length 1)
The maximum number of lines to read from the file.character
) One or more characters that appear at the start of a line indicating that the line is a comment and not part of the data.extract_taxonomy
.