Skip to contents

Enable autocompletion for $ access for muscadet or muscomic objects. For muscadet objects, it also lists omic datasets contained inside the omics slot.

Usage

# S3 method for class 'muscadet'
.DollarNames(x, pattern = "")

# S3 method for class 'muscomic'
.DollarNames(x, pattern = "")

Arguments

x

A muscadet or muscomic object.

pattern

A regular expression. Only matching names are returned.

Value

Character vector of matching element names.

Examples

# Load example muscadet object
# data("muscadet_obj")
muscadet_obj$ATAC
#> A muscomic object of type ATAC labelled scATAC-seq containing: 
#>  log.ratio coverage data matrix 
#>  112 cells 
#>  133 features: windows of peaks 
#>  691 variant positions 

# Load example muscadet object
# data("muscadet_obj")
muscadet_obj$ATAC$type
#> [1] "ATAC"