SyntheticControl {bayNorm} | R Documentation

## Generate synthetic control

### Description

Input raw data and a vector of capture efficiencies of cells.

### Usage

    SyntheticControl(Data, BETA_vec)

### Arguments

`Data` | A matrix of single-cell expression where rows are genes and columns are samples (cells). `Data` can be of class `SummarizedExperiment` (the assays slot contains the expression matrix and is named "Counts") or just matrix.
`BETA_vec` | A vector of capture efficiencies (probabilities) of cells.

### Details

Simulate control data (based on Poisson distribution).

### Value

List containing 2D matrix of synthetic control, `BETA_vec` used and `lambda` used in `rpois`.

### Examples

    data("EXAMPLE_DATA_list")
    SC_output<-SyntheticControl(Data=
    EXAMPLE_DATA_list$inputdata,
    BETA_vec = EXAMPLE_DATA_list$inputbeta)

[Package bayNorm version 1.8.0 Index]