plot4rowcorMatVec: ordered bar plot for rowcorMatVec class

Description Usage Arguments Value

View source: R/TestAndCorr_p.R

Description

ordered bar plot for rowcorMatVec class

Usage

1
2
3
4
5
6
plot4rowcorMatVec(res, rowInfo = NULL, decreasing = TRUE,
  dataMode = "IC50", ylab = NULL, xlab = NULL, sizex, sizey = 12,
  main = NULL, tag = "", showP = "None", pthr = 1, colorSignif = TRUE,
  legend.position = c(0.85, 0.85), legend.title = "Significance",
  showLegend = TRUE, truncCorlow = -1, truncCorhigh = 1,
  barWidth = NULL, corlim, coord_flip = FALSE, plot = TRUE)

Arguments

rowInfo

alternative rownames to show on the figure

decreasing

logic, decreasing order of bars or not.

dataMode

a string used to label the x-axis. Default is 'IC50' for IC50 t-test; Please use meaning string relevant to the data.

sizex

x axis label size

sizey

y axis label size

showP

do not show P value on graph (as part of gene name) ('None'); show actual P ('Value'); show P category ('Category')

pthr

filtering by p value. Rows with larger P value will be deleted. Default is to use all rows (pthr=1)

legend.position

position for the legend if P value is show as category

legend.title

title of the legend

truncCorlow

cutoff to truncate correlation lower than this value. Defalt is -1, which means no truncation on small corr (negative) value

truncCorhigh

cutoff to truncate correlation higher than this value. Defalt is 1, which means no truncation on large corr (usually positive) value

barWidth

relative barwidth (0~1); if this is too small, some bars might be displayed as missing; so set it larger

corlim

correlation limit; default is not specified which will use observed correlation limit; can specify c(-1, 1) to see this range.

coord_flip

whether to flip coordinate; default sets y as the correlation; when coord_flip=TRUE, x is plotted as correlation

Value

a ggplot2 object


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.