powered by
The plot1gene function plots the data for a single gene.
plot1gene(geneName, fp, fpName = "", responseVector, dat, resPlot = TRUE, colP = "blue", colA = "white")
Character string, specifying the name of the gene.
Vector containing 0's and 1's - the data about the fingerprint feature.
Character string, used to make the title of the plots. If not specified, the plot title will be blank.
Vector containing the bio-activity data.
Contains the gene expression data matrix for all the genes - can be a matrix or an expression set.
Logical. If TRUE, also plots the residual from the gls fit. Default is TRUE.
Character string, specifying the colour for the 1's in the fp parameter. Default is blue.
Character string, specifying the colour for the 0's in the fp parameter. Default is white.
Creates a plot
Calls the getCorrUnad function and creates the plot(s) accordingly.
# NOT RUN { plot1gene(geneName="Gene21",fp=fp,fpName="Fingerprint",responseVector=activity,dat=gene_eset) # }
Run the code above in your browser using DataLab