embed_pcal | R Documentation |
embed in grey scale using PCA Loading value
embed_pcal(counts, dimensions, features = NULL, verbose = TRUE)
counts |
Seurat object containing normalised counts |
dimensions |
number dimension to retain from PCA |
features |
custom vector of features |
verbose |
logical if progress messages should be outputed |
This approach is a slightly different as it takes the loading value associted to each gene in a barcode and sums the absolute value of each of those values. Once all genes in all barcodes have been summed, we normalise the latent space and return the matrix.
normalised PCA loading matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.