A R/MATLAB package to perform virtual knockout experiments on single-cell gene regulatory networks. scTenifoldKnk is a machine learning workflow that performs virtual knockout experiments using single-cell RNA sequencing (scRNAseq) data from wild-type (WT) control samples as input. Constructs a single-cell gene regulatory network (scGRN) and knocks out a target gene from the adjacency matrix of the WT scGRN by setting the gene’s outdegree edges to zero. scTenifoldKnk then compares the knocked out scGRN with the WT scGRN to identify differentially regulated genes, called virtual-knockout perturbed genes, which are used to assess the impact of the gene knockout and reveal the gene’s function in the analyzed cells.
This package is under active development, you can install scTenifoldKnk, using the following command:
library(remotes)
install_github('cailab-tamu/scTenifoldKnk')
library(scTenifoldKnk)
Code | Function |
---|---|
scTenifoldKnk | Perform virtual knockout experiments on single-cell gene regulatory networks |
The required input for scTenifoldKnk is an expression matrix with genes in the rows and cells (barcodes) in the columns. Data is expected to be previously normalized or not normalized if QC = TRUE
.
The running time of scTenifoldKnk is largely dependent on how long it takes to construct scGRNs from subsampled expression matrices. Time increases proportional to the number of cells and genes in the dataset used as input. Below is a table of running times under different scenarios:
Number of Cells | Number of Genes | Running Time |
---|---|---|
300 | 1000 | 3.45 min |
1000 | 1000 | 4.25 min |
1000 | 5000 | 171.88 min (2 h 51.6 min) |
2500 | 5000 | 175.29 min (2 h 55.3 min) |
5000 | 5000 | 188.88 min (3 h 8.9 min) |
5000 | 7500 | 189.51 min (3 h 9.5 min) |
7500 | 5000 | 615.45 min (10 h 15.5 min) |
7500 | 7500 | 616.12 min (10 h 16.1 min) |
The output of scTenifoldKnk is a list with 3 slots as follows:
©️ The Texas A & M University System. All rights reserved.