Split a scatterplot (or similar) into quadrants and label percentages in each quadrant.
1 | add_quadrants(p, g1_score_name, g2_score_name, cutoffs, facet_by = NULL)
|
cutoffs |
numeric vector of length 2. Where to delineate the quadrants. |
facet_by |
optional facetting variable. Percents are calculated separately for each facet. This is a helper for TACS, but it's exported in case it becomes useful. |
dge |
Seurat object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.