Skip to contents

Import marginal of ATAC counts to a misha track

Usage

import_atac_marginal(
  file,
  track,
  description,
  genome,
  binsize = 20,
  overwrite = FALSE,
  wig_temp_dir = tempdir()
)

Arguments

file

Name of the 'bigwig' file to import, such as the 'atac_cut_sites.bigwig' from the 10x pipeline. For more details, see: https://support.10xgenomics.com/single-cell-multiome-atac-gex/software/pipelines/latest/output/bigwig

track

Name of the track to create.

description

a character string description

genome

Genome name, such as 'hg19' or 'mm10'.

binsize

bin size of the newly created 'Dense' track or '0' for a 'Sparse' track

overwrite

Overwrite the existing track if it exists.

wig_temp_dir

Temporary directory to store the intermediate wig files.

Examples

if (FALSE) {
import_atac_marginal("./atac_cut_sites.bigwig", "pbmc_atac.marginal", "Marignal counts from PBMC ATAC", genome = "hg38")
}