plotZbyTF: Plot Z by TF out-degree quantiles

View source: R/plotting.R

plotZbyTFR Documentation

Plot Z by TF out-degree quantiles

Description

Generates a Z-score scatterplot for edges according to the TF outdegree in prior. The two PANDA objects should only differ in the gene expression used for the network constructions or other parameters.

Usage

plotZbyTF(x, y, motif, hasPrior = TRUE, cuts = 1, cols = 2)

Arguments

x

PANDA object - output of the panda function.

y

PANDA object - second PANDA object.

motif

Motif used to construct the networks.

hasPrior

TRUE/FALSE, If TRUE plots the edges that are given a weight > 0 in the motif, else plot those given a weight of 0

cuts

either a numeric vector of two or more unique cut points or a single number (greater than or equal to 2) giving the number of intervals into which 'x' is to be cut.

cols

Number of columns in layout.

Value

ggplot heatmapfor each TF, get outdegree in regulatory prior

Examples


data(pandaResult)
data(pandaToyData)
plotZbyTF(pandaResult,pandaResult, pandaToyData$motif, hasPrior=TRUE)
plotZbyTF(pandaResult,pandaResult, pandaToyData$motif, cuts=2)


jnpaulson/pandaR documentation built on May 13, 2024, 11:30 a.m.