color_biplot_by_discrete: Colors a biplot according to a vector with discrete values

Description Usage Arguments Examples

View source: R/hypergate.R

Description

Colors a biplot according to a vector with discrete values

Usage

1
2
color_biplot_by_discrete(matrix, discrete_vector, ..., bty = "l",
  pch = 16, cex = 0.5, colors = NULL)

Arguments

matrix

a two columns matrix

discrete_vector

a vector of size nrow(matrix)

...

passed to plot

bty

passed to plot

pch

passed to plot

cex

passed to plot

colors

Palette to used named after the unique elements of discrete_vector. Generated from rainbow() if missing.

Examples

1
2
3
4

ebecht/hypergate documentation built on March 9, 2020, 4:05 p.m.