Removes an assay from an scMethrix object
remove_assay(scm = NULL, assay = NULL)
| scm |
|
|---|---|
| assay | string; name of an existing assay. Default = "score" |
An scMethrix object
This will remove an assay from the scMethrix experiment object. All transformed assays may be removed, as well as the coverage assay (since it is less useful when compared to normal WGBS data), but the score assay cannot be removed. Reduced dimensionality data will be retained even if the parent assay is removed.
#> An object of class scMethrix #> n_CpGs: 286 #> n_samples: 4 #> assays: score #> reduced dims: #> is_h5: FALSE #> Reference: hg19 #> Physical size: 41.8 Kb