create_pseudobulk_mat.default | R Documentation |
Create Pseudo-Bulk Matrix from scEpigenomics clusters & replicates
## Default S3 method: create_pseudobulk_mat( object, by = "IDcluster", biological_replicate_col = NULL )
object |
A SingleCellExperiment object containing scEpigenomics dataset with 'IDcluster' column. |
by |
A character specifying the name of the metadata column referencing the clusters. |
biological_replicate_col |
Optional. A column of the SingleCellExperiment object indicating the replicates or batches of the dataset in order to take in account biological/technical noise. If NULL, will create random layers of fake replicates. |
A pseudo-bulk matrix of cluster spread by replicates / batches / fake replicates.
if(requireNamespace("Seurat", quietly=TRUE)){ data("Seu", package = "IDclust") mat <- create_pseudobulk_mat.default(object, by = "seurat_clusters") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.