Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

CID.writeJSON

Writes JSON file for SPRING integration


Description

CID.writeJSON is a SPRING-integrated function for writing a JSON file.

Usage

CID.writeJSON(
  cr,
  json_new = "categorical_coloring_data.json",
  spring.dir,
  new_populations = NULL,
  new_colors = NULL
)

Arguments

cr

output from GenerateLabels

json_new

Filename where annotations will be saved for new SPRING color tracks. Default is "categorical_coloring_data_new.json".

spring.dir

Directory where file 'categorical_coloring_data.json' is located. If set, will add Signac annotations to the file.

new_populations

Character vector specifying any new cell types that Signac has learned. Default is NULL.

new_colors

Character vector specifying the HEX color codes for new cell types. Default is NULL.

Value

A categorical_coloring_data.json file with Signac annotations and Louvain clusters added.


SignacX

Cell Type Identification and Discovery from Single Cell Gene Expression Data

v2.2.0
GPL-3
Authors
Mathew Chamberlain [aut, cre], Virginia Savova [aut], Richa Hanamsagar [aut], Frank Nestle [aut], Emanuele de Rinaldis [aut], Sanofi US [fnd]
Initial release
2021-02-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.