kmerTestAffinity: Test for k-mer preferential affinities

Description Usage Arguments Value Author(s)

View source: R/kmerTestAffinity.R

Description

Using estimated k-mer level affinities returned by kmerFit, this function tests for preferential affinity within conditions for each k-mer. Here, preferential affinity is defined as statistically significant affinity above a normal background distribution fit to each condition.

For each condition, the k-mer affinities above background are determined by first fitting a normal+exponential convolution to the distribution of estimated affinities. Then, the expected exponential component for each k-mer is taken as the estimate of preferential affinity. Under this formulation, the normal component of the fitted convolution corresponds to the background distribution of binding affinities for k-mers, while the exponential component corresponds to the signal (preferential) affinity above this background.

Usage

1

Arguments

se

a SummarizedExperiment of k-mer-level estimated affinities returned by kmerFit.

Value

SummarizedExperiment of k-mer preferential affinity results with the following assays:

Author(s)

Patrick Kimes


pkimes/upbm documentation built on Oct. 17, 2020, 9:10 a.m.