new_fcoex: Create a fcoex object

Description Usage Arguments Value Examples

View source: R/fcoex_s4_class.R

Description

Create a fcoex object

Usage

1

Arguments

expression

Normalized gene expression table from single-cells data.frame.

target

Original target classes for the cells (factor).

Value

Object of class fcoex

Examples

1
2
3
4
5
6
# Create new fcoex object
library(SingleCellExperiment)
data("mini_pbmc3k")
targets <- colData(mini_pbmc3k)$clusters
exprs <- as.data.frame(assay(mini_pbmc3k, "logcounts"))
fc <- new_fcoex(exprs, targets)

csbl-usp/fcoex documentation built on Sept. 15, 2021, 7:42 a.m.