Learn R Programming

Single-cell Regulatory-driven Clustering (scregclust)

The goal of scregclust is to cluster genes by regulatory programs. To do so, genes are clustered into modules which in turn are associated with regulators. The algorithm alternates between associating regulators to modules and reallocating target genes into modules.

Installation

You can install the stable version of scregclust from CRAN with

install.packages("scregclust")

You can install the current development version of scregclust from GitHub with:

# install.packages("devtools")
devtools::install_github("scmethods/scregclust")

Copy Link

Version

Install

install.packages('scregclust')

Monthly Downloads

165

Version

0.2.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Felix Held

Last Published

December 6th, 2024

Functions in scregclust (0.2.0)

compute_adjusted_rand_index

Compute Hubert's and Arabie's Adjusted Rand index
coef_ols

Compute OLS coefficients
coef_ridge

Compute ridge regression coefficients
compute_rand_index

Compute the Rand index
get_rand_indices

Compute Rand indices
get_regulator_list

Return list of regulator genes
kmeanspp

Perform the k-means++ algorithm
jaccard_indicator_comp

Perform the computations for thresholded Jaccard distance
cluster_overlap

Create a table of module overlap for two clusterings
reset_array

Reset input 3d-array by filling matrix along first dimension
fast_cor

Fast computation of correlation
coop_lasso

ADMM algorithm for solving the group-penalized least squares problem
coef_nnls

Compute NNLS coefficients
get_target_gene_modules

Extract target gene modules for given penalization parameters
plot_regulator_network

Plotting the regulatory table from scregclust as a directed graph
count_table

Format count table nicely
find_module_sizes

Determine module sizes
progstr

Quick'n'dirty progress bar
remove_empty_modules

Remove empty modules
scregclust-package

scregclust: Reconstructing the Regulatory Programs of Target Genes in scRNA-Seq Data
alloc_array

Allocate 3d-array and fill with matrix along first dimension
plot_silhouettes

Plot individual silhouette scores
jaccard_indicator

Compute indicator matrix of pairwise distances smaller than threshold
available_results

Extract final configurations into a data frame
scregclust

Uncover gene modules and their regulatory programs from single-cell data
scregclust_format

Package data before clustering
split_sample

Split Sample
get_avg_num_regulators

Get the average number of active regulators per module
get_num_final_configs

Return the number of final configurations
kmeanspp_init

Determine initial centers for the kmeans++ algorithm
plot_module_count_helper

Plot average silhouette scores and average predictive \(R^2\)