Skip to contents

Prepare input

correct_feature_batch()
Remove batch effects from a feature matrix, cluster by cluster
harmony_assignments()
Soft cluster assignments from Harmony

Fit and extract factors

fit_ebmf()
Fit a named matrix using native empirical Bayes factorization
fit_gbcd_programs()
Fit generalized binary covariance gene programs
standardize_factors()
Create matched activity and feature coordinates
factor_activity()
Extract sample by factor activity
factor_effects()
Extract feature by factor effects
factor_pve()
Extract native factor proportions of variance explained
filter_cells_by_total_membership()
Filter cells by total gene-program membership

Interpret and plot factors

factor_features()
Select largest and distinctive program features
plot_factor_features()
Plot selected signed feature effects
plot_factor_activity()
Plot bounded sample activity with signed defaults
plot_factor_weights()
Plot every feature effect of a factor, ranked, with the top features labelled
plot_factor_scatter()
Plot two factor activities against each other
plot_factor_pve()
Plot native proportion of variance explained per factor
plot_factor_data()
Plot the observed data behind one factor
plot_factor_embedding()
Display factor activity on a sample embedding
project_factor_features()
Estimate effects for new measurements with fixed existing activities
project_factor_activity()
Transfer fixed reference programs to a new dataset

Build and project consensus references

build_factor_reference()
Build a consensus program reference from several datasets
reference_programs() reference_members() reference_diagnostics()
Access a consensus reference
project_reference()
Project query data onto a consensus reference

Compare samples and conditions

summarize_factor_activity()
Summarize activities by explicit metadata groups
compare_factor_groups()
Compare two groups descriptively in matched factor and feature space
compare_prior_fits() print(<prior_comparison>) plot(<prior_comparison>)
Compare saved feature programs and their joint coverage
test_factor_association()
Test continuous factor activities using an explicit inferential engine
test_gom_de()
Grade-of-membership differential expression with fixed memberships
backproject_contrast()
Back-project a declared factor contrast into feature units
validate_backprojection()
Compare reconstructed and directly observed feature contrasts

Check uncertainty and prediction

factor_uncertainty()
Extract native posterior standard deviations in a matched basis
factor_intervals()
Conditional equal-tail intervals from the native sampler
factor_stability()
Refitting stability under explicit biological-unit resampling
factor_replicability()
Compare independently fitted feature programs
factor_holdout()
Evaluate training programs on held-out biological units

Authors and sources

factor_provenance()
Inspect code origins and runtime dependencies