View source: R/SignatureFitLib.R
export_SignatureFit_withBootstrap_to_JSON | R Documentation |
Given a res file obtained from the SignatureFit_withBootstrap or SignatureFit_withBootstrap_Analysis function, export it to a set of JSON files that can be used for web visualisation
export_SignatureFit_withBootstrap_to_JSON(outdir, res)
outdir |
output directory where the output JSON files should be saved, remember to put "/" at the end of the folder name. |
res |
R object obtained from the SignatureFit_withBootstrap or SignatureFit_withBootstrap_Analysis function |
res <- SignatureFit_withBootstrap(cat = rnd_matrix,
signature_data_matrix = cosmic30,
nboot = 5,
threshold_percent = 0.1,
threshold_p.value = 0.1)
export_SignatureFit_withBootstrap_to_JSON("JSON_out/",res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.