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.

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)