Description Usage Arguments Examples
View source: R/cell_signatures.R
This function allows you to provide dimensionality coordinates and a gene by cell matrix to get cell signature overlays.
1 2 3 4 5 6 7 8 9 | cell_signatures(
coords,
expression,
signatures,
file.path.prefix,
cexsize = 1,
type = "UMAP",
subset = 30:45
)
|
coords |
Dataframe containing 2 columns, each for X and Y coordinates with rows as cells |
expression |
Dataframe of gene expression values, rows as genes and cells as columns |
signatures |
The signatures file, with each column as a seperate list of genes (signature) with headers |
file.path.prefix |
File path, including sample name, for plot to be saved as with the appropriate suffix. Example: "/Users/Documents/BPDCN123" |
cexsize |
The value that determines "cex" in the plot. Generated as part of the QC and Filter workflow but can be supplied independently. Default is 1 |
type |
The type of plots to generate/the type of coordinates given. "UMAP" (default) and "tSNE" accepted |
subset |
Range of numeric values indicating which 16 plots to generate as the seperate "selected" plots. Default is 30:45 for the Griffin signatures |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.