biplotly: PCA biplot interactive with plotly

View source: R/biplotly.R

biplotlyR Documentation

PCA biplot interactive with plotly

Description

PCA biplot interactive with plotly

Usage

biplotly(
  table,
  x = "PC1",
  y = "PC2",
  color = "ARM",
  pca_obj = NULL,
  title = NULL
)

Arguments

table

matrix of aptamer values and metadata

x

x value

y

y value

color

color by feature

pca_obj

PCAtools::pca object

title

add main title to plot

Value

plotly scatterplot of components

Examples

biplotly(t_wdf$df, x="PC1", y="PC2", color="ARM", pca_obj = t_wdf$pca_obj, title="TEST PCA")

andreagrioni/ToolViz documentation built on Aug. 27, 2022, noon