create_ENIGMA: Create a new ENIGMA object

View source: R/ENIGMA_class.R

create_ENIGMAR Documentation

Create a new ENIGMA object

Description

Create a new ENIGMA object

Usage

create_ENIGMA(
  bulk,
  ref,
  ref_type = c("single_cell", "sort", "aggre"),
  meta_bulk = NULL,
  meta_ref = NULL,
  assay = NULL
)

Arguments

bulk

raw bulk data matrix

ref

raw reference data, could be single cell (matrix, SingleCellExperiment object or Seurat object) or FACS bulk

ref_type

Determine the reference type. Should be either "single_cell" or "sort".

meta_bulk

metadata of bulk matrix

meta_ref

metadata of reference

Value

an ENIGMA initial object


WWXkenmo/ENIGMA_test documentation built on March 17, 2023, 4:56 a.m.