plotMDT: Plot MDT objects

Description Usage Arguments

Description

Various plots for MDT objects.

Usage

1
2
3
4
5
6
7
8
plotMDT(x, type = c("scatter", "heatmap"), preprocess = c("scale", "center",
  "pca"), space = c("samples", "features"), dims = c(1L, 2L), fill = NA,
  ...)

## S4 method for signature 'MDT'
plotMDT(x, type = c("scatter", "heatmap"),
  preprocess = c("scale", "center", "pca"), space = c("samples",
  "features"), dims = c(1L, 2L), fill = NA, ...)

Arguments

x

MDT object.

type

Type of plot

  • scatter: Scatter plot using geom_point

  • heatmap: Heatmap using heatmap.2

preprocess

Preprocessing transformation. Choose from 'scale', 'center' and 'pca'.

space

For y='scatter', specifies if should plot feature space or sample space.

dims

For y='scatter', specifies which features or samples should be plotted. Can be integers specifying column index or characters.

fill

Value to replace missing values in mtable.

...

Further arguments to be passed on to heatmap.2 or geom_point


olivmrtn/MachineLearningGWAS documentation built on May 24, 2019, 12:52 p.m.