ObjectGenerator: A function togenerate a class object then assign proper data...

Description Usage Arguments Value

View source: R/ObjectGenerator.R

Description

This function assigns proper data to their associated slots of a S4 classe. This information is either provided by user, or exported from TFregulomeR's dataware using user specified data.

Usage

1
ObjectGenerator(sp, peak_id_y_list, peak_id_x, height = 2, width = 3)

Arguments

sp

This argument, defines from which point on, the matrix needs to be forked, or in the other words, up to which point two exclusive matrices need to be aggregated.

peak_id_y_list

This argument is a list of TF ID's which will be intersected with Peak_id_x.

peak_id_x

This argument holds an id of TFBS compatible with TFregulomeR(). This is the target peak ID wich will be employed by IntersecPeakMatrix of TFregulomeR to extract desired data.

height

An argument which allows user to customize the height of final graph relative to screen.

width

An argument which allows user to customize the width of final graph relative to screen.

Value

This component, returns a class object which holds all the neccessary information for other functuins.


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