An S4 class to contain principal component analysis of a gene expression matrix, metadata, training, and prediction information.
svaSingular value decomposition performed with prcomp_irlba() function
metadataA dataframe with:
row names: ids matching the column names of the gene expression matrix
columns: associated metadata such as cell type, conditions, sample, or batch.
trainDataTraining gene expression data
expVarExplained variance by each principoal component
pVarColumn name from metadata to use as the variable to predict using the informative principal components
featuresA data frame with the following information:
PC: Principal component
Freq: Frequency of occurencxe of the principal component over a number of random samples from the PCA matrix
expVar: Explained variance by the principal component
cumExpVar: All principal components are ranked accoriding to their frequency of ocurrence and their variance explained. This column contains the cumulative variance explained across the ranked principal components
trainA list with all trained models using the caret package. Each model correspond to a cell type
projectionA matrix containing the prediction data projection
predictionsA data frame with the prediction results containing probabilities for each class
pseudoTRUE if a log2(data + 1) transformation was performed before performing the PCA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.