new_fcoex {fcoex} | R Documentation

## Create a fcoex object

### Description

Create a fcoex object

### Usage

    new_fcoex(expression = data.frame(), target = vector())

### 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

    # 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)

[Package fcoex version 1.2.0 Index]