Here is the detailed R script to generate the input needed by scSynO for synthetic cell generation and classification model training.
The code that can be embedded into any other Seurat data processing workflow is:
cell_expression_target_cluster <- as.matrix(GetAssayData(seuratobject, slot = "data")[, WhichCells(seuratobject, ident = "target_cluster_number")]) cell_expression_all_other_clusters <- as.matrix(GetAssayData(seuratobject, slot = "data")[, WhichCells(seuratobject, ident = ...
Creator: Markus Wolfien
Submitter: Markus Wolfien
Model type: Not specified
Model format: Not specified
Environment: Not specified
Single nuclei transcriptomics data as .csv files from the Allen Brain atlas data set of mus musculus (https://celltypes.brain-map.org/) have been utilized as an input for scSynO. The underlying analysis is part of the manuscript entitled "Automated annotation of rare-cell types from single-cell RNA-sequencing data through synthetic oversampling". Data anaylsis and visalizations were mainly generated with the Seurat R package (https://satijalab.org/seurat/archive/v3.2/spatial_vignette.html)
Creator: Markus Wolfien
Submitter: Markus Wolfien
Model type: Not specified
Model format: Not specified
Environment: Not specified