taxTable2Taxid converts a table of taxonomic names to a table of taxids. The format must be the same as curatedMetagenomicData (rowData) and phyloseq (taxa_data).

taxTable2taxid(df, names_from)

Arguments

df

A data frame.

names_from

Name of the column with the names that should be used as rownames.

Value

A data frame with taxIDs instead of names.

Details

This function should always be run in an interactive session because it will ask for clarification when two taxonomic names belong to two different taxids.