dTFIPlot: This function plots the Off diagonal mass of an observed...

Description Usage Arguments Value Examples

View source: R/analysis_functions.R

Description

This function plots the Off diagonal mass of an observed Transition Matrix compared to a set of null TMs

Usage

1
dTFIPlot(monsterObj, rescale = FALSE, plot.title = NA, highlight.tfs = NA)

Arguments

monsterObj

monsterAnalysis Object

rescale

logical indicating whether to reorder transcription factors according to their statistical significance and to rescale the values observed to be standardized by the null distribution

plot.title

String specifying the plot title

highlight.tfs

vector specifying a set of transcription factors to highlight in the plot

Value

ggplot2 object for transition matrix comparing observed distribution to that estimated under the null

Examples

1
2
3
4
5
# data(yeast)
# design <- c(rep(0,20),rep(NA,10),rep(1,20))
# monsterRes <- monster(yeast$exp.cc, design, yeast$motif, nullPerms=100, numMaxCores=4)#' 
data(monsterRes)
dTFIPlot(monsterRes)

QuackenbushLab/MONSTER documentation built on Oct. 22, 2020, 8:07 a.m.