From 61294e5268d12ee50ef66277ee17d650019b4bde Mon Sep 17 00:00:00 2001 From: Mary Llewellyn Date: Fri, 15 Mar 2024 10:04:57 +0000 Subject: [PATCH] singular input Co-authored-by: Ailith Ewing <54178580+ailithewing@users.noreply.github.com> --- _episodes_rmd/04-principal-component-analysis.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_episodes_rmd/04-principal-component-analysis.Rmd b/_episodes_rmd/04-principal-component-analysis.Rmd index 3631a8cb..adb4fb72 100644 --- a/_episodes_rmd/04-principal-component-analysis.Rmd +++ b/_episodes_rmd/04-principal-component-analysis.Rmd @@ -597,7 +597,7 @@ represents. > > pc$loadings[which.max(pc$loadings[, 2]), ] # principal component loadings for the feature > > with the maximal loading on the second principal component. > > ``` -> > The function `pca()` is used to perform PCA, and uses as inputs a matrix +> > The function `pca()` is used to perform PCA, and uses as input a matrix > > (`mat`) containing continuous numerical data > > in which rows are data variables and columns are samples, and `metadata` > > associated with the matrix in which rows represent samples and columns