Learn R Programming

disco (version 0.6)

plotDisco: plots log2FC of the corresponding genes against each other

Description

Creates a plot of log2FC of the chosen genes in one data set against log2FC of corresponding genes in the other data set. Each dot represents a gene and is colored according to disco.score calculated for this pair of heterologous genes: the stronger is red color the more concordantly regulated is the gene pair, and the stronger is the blue color, the more discordantly regulated is the gene pair.

Usage

plotDisco(x, disco.score, g = NULL)

Arguments

x

an object of class matchedOrtholog

disco.score

a numerical vector of values of disco.score assigned to each orthologous gene pair, ordered according to the gene order in matchedOrtholog object

g

either a vector of gene names of genes of interest

Value

plot

Examples

Run this code
# NOT RUN {
library(tmod)
data(tmod)
data(orthologs)
ds <- disco.score(orthologs)
plotDisco(orthologs, ds, tmod$MODULES2GENES[["LI.M1.0"]])
# }

Run the code above in your browser using DataLab