scMethrix object.R/scmethrix_operations.R
get_metadata_stats.RdAdds descriptive statistics to metadata columns in an scMethrix object.
get_metadata_stats(scm)
| scm |
|
|---|
An scMethrix object
Adds the mean, median, SD, and sample count and coverage (if present) for the GenomicRanges in an scMethrix object. This can be accessed using mcols().
This data will not be updated automatically for any subset, merge, bin, etc functions.
#> An object of class scMethrix #> n_CpGs: 286 #> n_samples: 4 #> assays: score, counts #> reduced dims: #> is_h5: FALSE #> Reference: hg19 #> Physical size: 56.4 Kb