BetaAdder: A function to merge Beta Score matrices to generate a single...

Description Usage Arguments Value Examples

View source: R/BetaAdder.R

Description

This function takes the class object and creates a merge of exclusive Beta Score Matrices by calculating the elementwise weighted average of them; up to the forking position. Weight of each matrix, is the overlapping percentage of intersectPeakmatrix.

Usage

1
BetaAdder(TheObject, sp)

Arguments

TheObject

is an object of S4 class that holds original matrices exported from the package TFregulomeR().

sp

is the forking position. User can define up to which position it is required to merge two matrices using this argument.

Value

This function receives a class object, and returns an updated class object.

Examples

1
This function is called within ClassAssignment() function.

aidaghayour/FPWM documentation built on June 15, 2020, 8:19 p.m.