DownSampling {bayNorm} | R Documentation

## Binomial downsampling

### Description

For each element in the `Data`, randomly generate a number using Binomial distribution with probability equal to the specific capture efficiency.

### Usage

    DownSampling(Data, BETA_vec)

### Arguments

`Data` | raw count Data
`BETA_vec` | A vector of capture efficiencies of cells

### Value

A matrix of binomial downsampling data.

### Examples

    data("EXAMPLE_DATA_list")
    Downsample_data<-DownSampling(Data=EXAMPLE_DATA_list$inputdata
    ,BETA_vec = EXAMPLE_DATA_list$inputbeta)

[Package bayNorm version 1.6.0 Index]