transform_and_save_single_cell: Creation of the single cell data file in the CIBERSORTx...

View source: R/CibersortX.R

transform_and_save_single_cellR Documentation

Creation of the single cell data file in the CIBERSORTx required format

Description

Creation of the single cell data file in the CIBERSORTx required format

Usage

transform_and_save_single_cell(sc_matrix, cell_types, path, verbose = FALSE)

Arguments

sc_matrix

The single cell data as a matrix.

cell_types

A Vector of the cell type annotations. Has to be in the same order as the samples in single_cell_object.

path

The folder in which the file should be saved.

verbose

Whether to produce an output on the console.

Value

The path to the single cell data file


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