All functions |
|
|---|---|
Compute AUC using Wilcoxon rank-sum test |
|
Adjust p-values using Benjamini-Hochberg method |
|
CLAMP base matrix factorization |
|
Dot plot of top pathways for a single latent variable |
|
Dot plot of pathway-LV associations across all latent variables |
|
Runs the streamlined full CLAMP model. |
|
Full CLAMP model with prior information and cross-validation |
|
Plot top genes per LV by Z loading |
|
Plot the U matrix (pathway-LV associations) as a heatmap |
|
Compute all-vs-all AUC matrix |
|
Binarize matrix by top-k values per column |
|
Cell-type deconvolution matrix |
|
Clean a Filebacked Big Matrix (FBM) by log-transforming and handling NAs |
|
Find common row names between two matrices or data frames |
|
Compare two sets of factor loadings or embeddings |
|
Compute row-wise sum and sum of squares for a Filebacked Big Matrix |
|
Compute a truncated SVD for a CLAMP input matrix |
|
Compute counts-per-million (CPM) for CLAMP pipelines |
|
Compute CPM on a file-backed matrix for CLAMP (in-place) |
|
Cross-validation AUC for CLAMP latent variables and pathways |
|
Cross-product Z^T Y with FBM or dense matrices |
|
Whole-blood reference expression matrix |
|
Filter rows of a Filebacked Big Matrix based on mean and variance |
|
Find the location of the maximum of a smoothing spline |
|
Count number of latent variables exceeding AUC thresholds |
|
Compute Chat matrix from prior annotation |
|
Download and read a GMT file from a URL |
|
Subset and filter pathway matrix to match target genes |
|
Subset and filter multiple pathway matrices to match target genes |
|
Subset and filter multiple pathway matrices to match target genes |
|
Subset and filter pathway matrix to match target genes |
|
Get maximum AUC per latent variable |
|
Estimate noise scale from singular values with linear tail extrapolation |
|
Convert a list of GMT gene sets to a sparse matrix |
|
Major cell-type annotations |
|
Matrix multiplication with support for FBM objects |
|
Greedy maximum correspondence from correlation matrix |
|
Print a concatenated message |
|
Estimate number of principal components via elbow or permutation method |
|
One-to-one masking of maximum associations |
|
panDB gene-set database |
|
Ridge-regularized pseudoinverse via SVD |
|
ComplexHeatmap visualization of top genes by latent variable |
|
Preprocess an expression matrix for CLAMP |
|
Preprocess a bigstatsr FBM for CLAMP |
|
Project new data into CLAMP latent space |
|
Read a GMT file into a list |
|
Ridge regression update for B |
|
Rotate SVD components to make dominant directions positive |
|
Row-wise correlation between two matrices |
|
Run elbow method to estimate number of PCs |
|
Run permutation method to estimate number of PCs |
|
Select default number of CLAMP latent variables from an SVD |
|
Select default number of components for a CLAMP solver SVD |
|
Fit the loading matrix Z using sparse regression of prior information U |
|
Squash extreme z-scores |
|
Row-wise scaling (mean 0, sd 1) |
|
Winsorize matrix columns by capping the top-k values |
|
xCell cell-signature matrix |
|
Z-score a filtered expression matrix for CLAMP |
|
Z-score a filtered FBM in-place |
|