mclust_bg: Find background of merip-seq signal with model based...

Description Usage Arguments Details Value

View source: R/mclust_bg.R

Description

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

Usage

1
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.


exomePeak2 documentation built on Nov. 8, 2020, 5:27 p.m.