extract_signature_autogenes: Extraction of the signature matrix from autogenes .pickle...

View source: R/AutoGeneS.R

extract_signature_autogenesR Documentation

Extraction of the signature matrix from autogenes .pickle files

Description

Extraction of the signature matrix from autogenes .pickle files

Usage

extract_signature_autogenes(
  autogenes_pickle_path,
  single_cell_object,
  cell_type_annotations
)

Arguments

autogenes_pickle_path

The path of the .pickle file generated by autogenes, exactly as returned by the build_model_autogenes function

single_cell_object

The matrix with the single-cell data used to build the signature. Rows are genes, columns are samples. Row and column names need to be set.

cell_type_annotations

The vector of the cell type annotations used to build the signature. Has to be in the same order as the samples in single_cell_object.

Value

The signature matrix.


PelzKo/immunedeconv2 documentation built on Feb. 12, 2025, 4:16 p.m.