addCellMarkersToCGS | R Documentation |
Adds four new variables to the cluster-wise gene statistics dataframe of the
scClustViz data object. Official gene symbols are added as variable
genes
. The remaining variables are used in
plot_clusterGenes_markers
to plot cell type marker genes.
Variables cMu
and cMs
are logical vectors indicating genes that
are unique to and shared across cell type markers respectively. Variable
overCut
indicates which genes should be labelled in the plot.
addCellMarkersToCGS(sCV, cellMarkersU, cellMarkersS, symbolMap)
sCV |
An object of class |
cellMarkersU |
Derived from the |
cellMarkersS |
Derived from the |
symbolMap |
The output of |
The sCVdata
object with the new variables added to
ClustGeneStats
.
findKeyType
, map2symbol
, and
mapIds
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.