R/2021_04_28-READ-read_interpro.R
read_interpro.Rd
Reads a table object created with InterProScan and generates a profile table of abundance with the hits of the KEGG, PFAM or INTERPRO databases. The output of KEGG database can be used within mapping_ko.
read_interpro(data_interpro, database=c("KEGG", "PFAM", "INTERPRO"), profile = TRUE)
data_interpro | a table, output of InterProScan on tsv format. InterProScan should have been run with -pa option to be able to use the KEGG option, in the database argument. |
---|---|
database | a character indicating for which database do you want to get the abundance profile. Valid options are "KEGG", "PFAM" or "INTERPRO". |
profile | a logical value indicating if you want to print a profile or not. This option is valid for "PFAM" and "INTERPRO" database. |
This function is part of a package used for the analysis of bins metabolism.
if (FALSE) { read_interpro(data_interpro="InterProScan.tsv", database="PFAM", profile = F) }