pca_plot: pca_plot (from pcaGoPromoter functions).

Description Usage Arguments Value

Description

This is a collection of functions from the package "pcaGoPromoter". It calculates the principle components and plots them.

Usage

1
pca_plot(expmatrix, groups, PCs = c(1, 2), main = "PCA plot")

Arguments

expmatrix

An input matrix with gene names as row names and sample names as column names.

groups

Define sample groups.

PCs

Principle components to plot (pick two). Defaults to PCs 1 and 2.

main

Main title. Defaults to "PCA plot".

Value

A PCA plot.


ShirinG/exprAnalysis documentation built on May 9, 2019, 1:28 p.m.