export_deepToolsMat: Export and import profileplyr from/to deeptools

export_deepToolsMatR Documentation

Export and import profileplyr from/to deeptools

Description

Export and Import files

Usage

export_deepToolsMat(
  object = "profileplyr",
  con = "character",
  decreasing = "logical",
  overwrite = "logical"
)

## S4 method for signature 'profileplyr'
export_deepToolsMat(
  object = "profileplyr",
  con = "character",
  decreasing = FALSE,
  overwrite = FALSE
)

import_deepToolsMat(con)

Arguments

object

A profileplyr object

con

Connection to write/read deeptools data to/from.

decreasing

If object@params$mcolToOrderBy has been set and not NULL, then the ranges will be ordered by the column indicated in this slot of the metadata. By default, the order will be increasing for the factor or numeric value. For decreasing order, choose decreasing = TRUE.

overwrite

Logical specifying whether to overwrite output if it exists.

Details

A profileplyr object

Value

The path to deepTools matrix file

A profileplyr object

Methods (by class)

  • export_deepToolsMat(profileplyr): Export and import profileplyr from/to deeptools

Examples


example <- system.file("extdata", "example_deepTools_MAT", package = "profileplyr") 
object <- import_deepToolsMat(example) 
export_deepToolsMat(object,file.path(tempdir(),"ATAC_Example.MAT"))

RockefellerUniversity/profileplyr documentation built on Jan. 28, 2023, 10:09 a.m.