MatrixAdder: A function to merge motif matrices to generate one matrix as...

Description Usage Arguments Value Examples

View source: R/MatrixAdder.R

Description

This function takes the object and creates a merge of all matrices by claculating the elementwise addition of them, up to a user specified position (Forking Position).

Usage

1
MatrixAdder(TheObject, sp)

Arguments

TheObject

is a 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 matrices using this argument.

Value

This function recieves a class object, and returns an updated class object by adding merged matrix to parentmatrix slot

Examples

1
This function is called whithin ClassAssignment() function. 

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