R/scmethrix_operations.R
remove_uncovered.RdRemove loci that are uncovered across all samples
remove_uncovered(scm = NULL, n_threads = 1, verbose = TRUE)
| scm |
|
|---|---|
| n_threads | integer; Maximum number of parallel instances. Default = 1 |
| verbose | boolean; Flag for outputting function status messages. Default = TRUE |
An object of class scMethrix
Takes scMethrix object and removes loci that are uncovered across all samples
data('scMethrix_data') # Remove uncovered CpGs after subsetting to a single sample remove_uncovered(subset_scMethrix(scMethrix_data, samples = "C1", by="include"))#>#>#>#>#>#> An object of class scMethrix #> n_CpGs: 181 #> n_samples: 1 #> assays: score, counts #> reduced dims: #> is_h5: FALSE #> Reference: hg19 #> Physical size: 33.9 Kb