Helper function that converts an scmet to SCE object. The
structure of the SCE object to store single cell methylation data is the
following. We create two assays,
met storing methylated CpGs and
storing total number of CpGs. Rows correspond to features and columns to
cells, similar to scRNA-seq convention. The
should store the feature and cell names, respectively. Covariates
that might explain variability in mean (methylation) should be stored
scmet_to_sce(Y, X = NULL)
Methylation data in data.table format.
(Optional) Matrix of covariates.
An SCE object with the structure described above.
# Extract sce <- scmet_to_sce(Y = scmet_dt$Y, X = scmet_dt$X)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.