export_deepToolsMat {profileplyr} | R 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)

- `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"))

[Package profileplyr version 1.2.0 Index]