Learn R Programming

IntegratedJM (version 1.6)

plot1gene: plot1gene

Description

The plot1gene function plots the data for a single gene.

Usage

plot1gene(geneName, fp, fpName = "", responseVector, dat, resPlot = TRUE,
  colP = "blue", colA = "white")

Arguments

geneName

Character string, specifying the name of the gene.

fp

Vector containing 0's and 1's - the data about the fingerprint feature.

fpName

Character string, used to make the title of the plots. If not specified, the plot title will be blank.

responseVector

Vector containing the bio-activity data.

dat

Contains the gene expression data matrix for all the genes - can be a matrix or an expression set.

resPlot

Logical. If TRUE, also plots the residual from the gls fit. Default is TRUE.

colP

Character string, specifying the colour for the 1's in the fp parameter. Default is blue.

colA

Character string, specifying the colour for the 0's in the fp parameter. Default is white.

Value

Creates a plot

Details

Calls the getCorrUnad function and creates the plot(s) accordingly.

Examples

Run this code
# NOT RUN {
plot1gene(geneName="Gene21",fp=fp,fpName="Fingerprint",responseVector=activity,dat=gene_eset)
# }

Run the code above in your browser using DataLab