mclust_bg {exomePeak2} | R Documentation

## Find background of merip-seq signal with model based clustering.

### Description

The function generate background index on the rowData of the summarizedExperiment.

### Usage

    mclust_bg(se_peak_counts, alpha = 1)

### Arguments

`se_peak_counts` | A SummarizedExperiment object.
`alpha` | The small offset added when calculating the M value.

### Details

This function will do the following jobs:

1. Filter the rows (modification sites) by average count.

2. Fit multivariate Gaussian mixture model with 2 mixing component to differentiate background and biological signal.

- depend on whether the bsgenome is provided, the values GC content will be used as one of the dimention of the clustering.

3. Classify the background and signal using bayes classifier by the learned model.

4. Return the index for the bins that are classified into background.

### Value

A dummy variable of the background index.

[Package exomePeak2 version 1.6.1 Index]