save.experiment {ORFik} | R Documentation

## Save `experiment` to disc

### Description

Save `experiment` to disc

### Usage

    save.experiment(df, file)

### Arguments

`df` | an ORFik `experiment`
`file` | name of file to save df as

### Value

NULL (experiment save only)

### See Also

Other ORFik_experiment: `bamVarName()`, `create.experiment()`, `experiment-class`, `libraryTypes()`, `outputLibs()`, `read.experiment()`, `validateExperiments()`

### Examples

    # 1. Pick directory
    dir <- system.file("extdata", "", package = "ORFik")
    # 2. Pick an experiment name
    exper <- "ORFik"
    # 3. Pick .gff/.gtf location
    txdb <- system.file("extdata", "annotations.gtf", package = "ORFik")
    template <- create.experiment(dir = dir, exper, txdb = txdb,
                                  viewTemplate = FALSE)
    template$X5[6] <- "heart" # <- fix non unique row
    # read experiment
    df <- read.experiment(template)
    # Save with: save.experiment(df, file = "path/to/save/experiment.csv")

[Package ORFik version 1.6.9 Index]