pca_gplot_scale: pca_gplot_scale

View source: R/plotting.R

pca_gplot_scaleR Documentation

pca_gplot_scale

Description

Plots PCA given a matrix with column names of variables

Usage

pca_gplot_scale(matrix, sep, nameindex, dim1, dim2)

Arguments

matrix

Data matrix with column names

sep

Sep character in sample name

nameindex

Part of name that you want to plot

dim1

PC component on x-axis

dim2

PC component on y-axis

Details

Function given to me by Deb Sen, credit goes to Kevin Bi

Value

a ggplot object


amyh25/Rsc documentation built on Jan. 29, 2024, 7:22 a.m.