read_ko | R Documentation |
read_ko calculates the abundance of each KO within the bins based on the KofamScan or KofamKoala output.
read_ko(data_kofam=NULL, data_kaas=NULL, data_interpro=NULL,
write=FALSE)
data_kofam |
a path where KofamScan/KofamKoala output data are. They should have the extension .txt and all files in the path are the ones that need to be read. Output data should have 5 columns with the bin names followed by the scaffold name divided by a '-' or '_': bin_scaffoldXX. |
data_kaas |
a data frame with 2 columns. Contigs are expected to indicate in their names the bin name followed by the scaffold name divided by a '-' or '_': bin_scaffoldXX. |
data_interpro |
a data frame output of read_interpro. This argument is used within mapping_KO. |
write |
a logical value indicating to save the data imported as a formatted table with .tsv extension with a time stamp and it will be located in your current working directory |
This function is part of a package used for the analysis of bins metabolism.
## Not run:
read_ko("C:/Users/bins/", write=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.