R/run_stream.R
create_rna_atac.Rd
Simulate a jointly profiled scRNA-seq and scATAC-seq dataset in which several enhancer regulons (eRegulons) are contained.
create_rna_atac(
obj = NULL,
ntfs = 5,
ngenes = 50,
ncells = 100,
all.genes = 1000,
all.enhs = 3000,
all.cells = 1000,
org = "hg38",
atac.assay = "ATAC",
gene.links = 2,
multi.factor = 100,
distance = 5e+05,
url.link = "https://figshare.com/ndownloader/files/38794185"
)
A Seurat
object used as the prototype to generate simulated dataset.
The number of eRegulons (TFs) to include in the simulated dataset.
The average number of genes in an eRegulon.
The average number of cells in an eRegulon.
the number of genes in the simulated Seurat
object.
The number of enhancers in the simulated Seurat
object.
The number of cells in the simulated Seurat
object.
The organism, hg38 by default.
The scATAC-seq assay.
The average number of enhancers linked to each gene in an eRegulon.
The value to be multiplied by the eRegulon genes
The maximum distance between a gene and its linked enhancers.
Returns a list composed of an eRegulon list and a Seurat
object.
each item of the simulated eRegulon contains the following attributes:
TF: The TF of the eRegulon.
genes: Genes of the eRegulon.
peaks: Enhancers of the eRegulon.
cells: Cells where the eRegulon is active.
Li, Y., Ma, A., Wang, Y., Wang, C., Chen, S., Fu, H., Liu, B. and Ma, Q., 2022. Enhancer-driven gene regulatory networks inference from single-cell RNA-seq and ATAC-seq data. bioRxiv, pp.2022-12.
Castro-Mondragon, J. A., Riudavets-Puig, R., Rauluseviciute, I., Berhanu Lemma, R., Turchi, L., Blanc-Mathieu, R., ... & Mathelier, A. (2022). JASPAR 2022: the 9th release of the open-access database of transcription factor binding profiles. Nucleic acids research, 50(D1), D165-D173.
Garcia-Alonso, L., Holland, C. H., Ibrahim, M. M., Turei, D., & Saez-Rodriguez, J. (2019). Benchmark and integration of resources for the estimation of human transcription factor activities. Genome research, 29(8), 1363-1375.