Description Usage Arguments Value
View source: R/helper_functions.R
CID.writeJSON
is a SPRING-integrated function for writing a JSON file.
1 2 3 4 5 6 7 | CID.writeJSON(
cr,
json_new = "categorical_coloring_data.json",
spring.dir,
new_populations = NULL,
new_colors = NULL
)
|
cr |
output from |
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. |
A categorical_coloring_data.json file with Signac annotations and Louvain clusters added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.