plot_pca: Takes a matrix and label information and produces a PCA plot

Description Usage Arguments Value

View source: R/plot_pca.R

Description

From the starting point of a datatype matrix and associated labels, this outputs a PCA plot

Usage

1
plot_pca(dat, annot_1, annot_2, roi = NULL, which_pcs = c(1, 2), out_file)

Arguments

dat

A sample * region matrix

annot_1

The labels for each point

annot_2

The group labels

Value

A PCA plot


aidanmacnamara/epiChoose documentation built on Dec. 26, 2021, 3:13 a.m.