View source: R/signatureFitMultiStepLib.R
fitMStoJSON | R Documentation |
Exports of the results obtained with the FitMS function to JSON.
fitMStoJSON(
fitObj,
filename = "export.json",
nindent = 0,
disableFileWrite = FALSE,
blockname = NULL
)
fitObj |
object obtained from the FitMS function |
filename |
file name where to save the JSON string |
nindent |
number of tabs of indentation to be used, default=0. This is useful in case one wants to embed the output in a larger JSON document |
disableFileWrite |
if TRUE the JSON lines are simply printed to screen. This option is used when fitToJSON is called from another function |
blockname |
if specified, the first line will show the given name as the block name, which is useful if the output is embedded in a larger JSON file |
res <- FitMS(catalogues,"Breast")
fitMStoJSON(res,"export.json")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.