plotGenesMat: plotGenesMat

Description Usage Arguments Examples

View source: R/plotGenesMat.R

Description

plotGenesMat wrapper function for plotting the scatterplots associated with two matrices.

Usage

1
2
3
plotGenesMat(mets, expres, fileName, text4Title = NULL, x1 = 1/3,
  x2 = 2/3, y1 = NULL, y2 = NULL, percY1 = 1/3, percY2 = 2/3,
  plotGrid = TRUE, logicSc = NULL)

Arguments

mets

matrix with methylation data.

expres

matrix with expression data.

fileName

name of the file used to save the results as pdf.

text4Title

NULL, name for the plot title containing the gene name and the L-shape score.

x1,

x2, Coordinates of vertical points in the X axis. Because it is expected to contain methylation values that vary between 0 and 1 the default values are 1/3 and 2/3.

y1,

y2, Coordinates of vertical points in the Y axis. Leaving them as NULL assigns them the percentiles of yVec defined by 'percY1' and 'percY2'.

percY1,

percY2 Values used to act as default for 'y1'and 'y2' when these are set to 'NULL'.

plotGrid

logical; default set to TRUE will plot gridlines on the graph.

logicSc

NULL, numeric score representing the L-shape score.

Examples

1
2
3
4
## Not run: 
plotGenesMat (mets=myMet, expres=myExpr, fileName="GenesPlots.pdf")

## End(Not run)

bertamiro/lpattern documentation built on July 19, 2019, 12:56 p.m.