preprocess_pca: Internal function that calculates matrix for principal...

Description Usage Arguments Value

View source: R/preprocess_pca.R

Description

Internal function that preprocesses feature matrix for PCA. Output of this function is used in plot_pca(.)

Usage

1
preprocess_pca(.data,.group,features=c('x','y'))

Arguments

.data

output data frame from scbasic(.) or compatible

.group

formal parameter effective when run under group_by(.) and nest(.) from tidyverse

features

list of columns from the .data data frame that will be used for creation of the feature matrix

Value

matrix formatted for PCA analysis using stats::prcomp(.)


Meiomap/SureTypeSCR documentation built on Dec. 17, 2021, 3:22 a.m.