plotGeneSel: plotGeneSel

Description Usage Arguments Examples

View source: R/plotGeneSel.R

Description

plotGeneSel plots points on a scatterplot with a 3x3 grid overimposed.

Usage

1
2
plotGeneSel(xMet, yExp, titleText, x1 = 1/3, x2 = 2/3, y1 = NULL,
  y2 = NULL, percY1 = 1/3, percY2 = 2/3, plotGrid = TRUE)

Arguments

xMet

vector with methylation data.

titleText

plot title.

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. Defautl to TRUE will plot gridlines over the scatterplot.

xExp

vector for expression data.

Examples

1
2
3
4
5
6
7
8
## Not run: 
myGene1 <-rownames(myGenes)[1]
xVec<- as.numeric(myMet[myGene1,])
yVec<-as.numeric(myExpr[myGene1,])
titleT <- paste (myGene1, "(May be GRM)")
plotGeneSel(xMet=xVec, yExp=yVec, titleText=titleT, x1=1/3, x2=2/3)

## End(Not run)

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