Skip to contents

generate a track for each metacell cluster, of the form track_prefix.name, where names are given at clust_names

Usage

export_atac_clust_misha(
  atac_mc,
  track_prefix,
  description = NULL,
  clust_vec = NULL,
  normalization = "none",
  parallel = getOption("mcatac.parallel"),
  num_cores = getOption("mcatac.parallel")
)

Arguments

atac_mc

a McPeaks object

track_prefix

prefix for generated misha tracks. The clusters would be of the form: "track_prefix.clust"

description

(optional) description for tracks (can be a glue-formatted expression)

clust_vec

(optional) a vector of length #metacells representing an annotation/clustering (can be output of gen_atac_mc_clust)

parallel

(optional) run function with parallel processing

num_cores

(required if parallel == TRUE) number of cores to use for parallel processing

Value

track_names names of generated misha tracks