draw_PCA: Draw PCA results

View source: R/fct_viz.R

draw_PCAR Documentation

Draw PCA results

Description

Draws variables contributions to principal components, as well as the PCA screeplot. First to fourth principal components are shown, except if there are only 4 samples. In that case, 3 principal components are computed.

Usage

draw_PCA(data)

Arguments

data

normalized expression data with samples as columns and genes as rows.

Examples

data("abiotic_stresses")
draw_PCA(abiotic_stresses$normalized_counts)

OceaneCsn/DIANE documentation built on Jan. 10, 2024, 6:43 p.m.