View source: R/signatureFitMultiStepLib.R
writeFitResultsToJSON | R Documentation |
Writing of the results obtained with the Fit or FitMS function to JSON.
writeFitResultsToJSON(fitObj, compress = TRUE, filename = "fitData.json")
fitObj |
object obtained from the Fit or FitMS function |
compress |
if TRUE then compress the JSON file. This is recommended as a plain JSON text file can be quite large. Set to TRUE as default |
filename |
output file name of the JSON file. If the parameter compress is TRUE then the ".zip" postfix will be added |
res <- Fit(catalogues,getOrganSignatures("Breast"))
writeFitResultsToJSON(res,"results/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.