View source: R/data_refinement.R
write.interaction_table | R Documentation |
Takes an interaction_table
and writes it to a file. For information about parameters,
see output_ccrepe_data
write.interaction_table(significant_interactions, filename, csv_option = "2")
significant_interactions |
An |
filename |
What is the name of the output file (including path). Ignored if |
csv_option |
If assigned the value |
library(micInt) data("seawater") sim.scores <- similarity_measures(subset= c("spearman","pearson")) res <- runAnalysis(OTU_table = seawater,iterations = 100, sim.scores = sim.scores,parallel = FALSE) int_table <- res$similarity_measures_significance$spearman write.interaction_table(int_table,"ccrepe_results.csv",csv_option = "1") # Ensures the file is deleted after running example unlink("ccrepe_results.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.