svd.vis: Visualize two PCs

Description Usage Arguments Value Author(s)

Description

Plot two PCs where each rows (biomarkers) are colored by their group

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
svd.vis(
  svd.dat,
  ident,
  dim.1 = 1,
  dim.2 = 2,
  pt.size = 1,
  pip = 1,
  no.axes = FALSE,
  coord_fixed = FALSE,
  title = ""
)

Arguments

svd.dat

a SVD object. See corpcor::fastsvd.

ident

identities of rows (e.g., clusters).

dim.1

which dimension of PCA to display as the x-axis

dim.2

which dimension of PCA to display as the y-axis

pt.size

the size of data points

pip

posterior inclusion probabilities

no.axes

show axes. by default, FALSE

coord_fixed

fix the coordinate. by default, FALSE

title

provide a title

Value

svd.vis returns a ggplot2 object.

Author(s)

Neo Christopher Chung nchchung@gmail.com


UCLA-BD2K/CV.Signature.TCP documentation built on May 15, 2020, 11:27 p.m.