embed_pcal: embed PCA loading values

View source: R/embeddings.R

embed_pcalR Documentation

embed PCA loading values

Description

embed in grey scale using PCA Loading value

Usage

embed_pcal(counts, dimensions, features = NULL, verbose = TRUE)

Arguments

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

Details

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.

Value

normalised PCA loading matrix


patrickCNMartin/Vesalius documentation built on April 17, 2025, 11:31 p.m.