saveDeAsJson: Save DE results as JSON tables for viewing in browser

View source: R/saveDeAsJson.R

saveDeAsJsonR Documentation

Save DE results as JSON tables for viewing in browser

Description

Save DE results as JSON tables for viewing in browser

Usage

saveDeAsJson(
  de.raw,
  sample.groups = NULL,
  saveprefix = NULL,
  dir.name = "JSON",
  gene.metadata = NULL,
  verbose = TRUE
)

Arguments

de.raw

List of DE results from e.g. cacoa, conos

sample.groups

Sample groups as named list, each element containing a vector of samples. Can be retrieved from e.g. package cacoa (default=NULL)

saveprefix

Prefix for created files (default=NULL)

dir.name

Name for directory with results. If it doesn't exist, it will be created. To disable, set as NULL (default="JSON")

gene.metadata

(default=NULL) # Needs explanation

verbose

Show progress (default=TRUE)

Value

JSON files, table of content, and viewer files for viewing DE results in browser

Examples

## Not run: 
saveDeAsJson(de.raw, sample.groups)

## End(Not run)
## The results can be viewed in a webbrowser by opening toc.html


kharchenkolab/sccore documentation built on Feb. 26, 2024, 12:41 a.m.