R/rectanglepy.R
extract_signature_rectanglepy.RdCalls get_signature_matrix() on the RectangleSignatureResult object
stored in the signature pickle, returning a standard R matrix. This allows
inspection of the selected marker genes and comparison with signatures from
other methods. The matrix can be saved for later use with saveRDS().
extract_signature_rectanglepy(
signature,
include_mrna_bias = TRUE,
verbose = FALSE
)Path to a .pkl file created by build_model_rectanglepy().
Whether to apply mRNA bias correction when computing the signature matrix. Default: TRUE.
Whether to print progress to the console. Default: FALSE.
A matrix with rows = genes and columns = cell types.