export_SignatureFit_withBootstrap_to_JSON: Export Signature Fit with bootstrap to JSON

Description Usage Arguments Examples

View source: R/SignatureFitLib.R

Description

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

Usage

1

Arguments

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

Examples

1
2
3
4
5
6
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)

pdiakumis/hrdetect documentation built on May 17, 2020, 5:30 p.m.