View source: R/data_refinement.R
output_ccrepe_data | R Documentation |
Takes input from ccrepe and transforms it into a convenient table
output_ccrepe_data( data, taxonomy = NULL, threshold.type = "q", threshold.value = 0.05, output.file = FALSE, filename = NULL, return.value = TRUE, csv_option = "2", removeDuplicates = TRUE, score_attributes = NULL )
data |
The results from ccrepe |
taxonomy |
Named character, with the names being those of the OTUs and the values their taxonomy collapased into a single string (for each OTU) |
threshold.type |
The type of threshold to be used |
threshold.value |
The critical significance value for including an interaction |
output.file |
Should the function write the date to a csv-file? |
filename |
What is the name of the output file (including path). Ignored if |
return.value |
Should the function return the interaction table as a return value? |
csv_option |
If assigned the value |
removeDuplicates |
If |
score_attributes |
An object of class sim.measure.attributes belonging to the similarity measure being used |
library(micInt) sim.scores <- similarity_measures(subset= c("spearman","pearson")) res <- runAnalysis(OTU_table = seawater, sim.scores = sim.scores,returnVariable = 'ccrepe_res', iterations = 100,parallel = FALSE) output_ccrepe_data(res$ccrepe_res$spearman$res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.