write_profiles {seqCAT} | R Documentation

## Write SNV profiles

### Description

Write several SNV profiles to file for later re-use.

### Usage

    write_profiles(profile_list, format = "TXT", directory = "./")

### Arguments

`profile_list` | The SNV profiles to be written (list).
`format` | The desired file format (character).
`directory` | The directory to write to (path).

### Details

This is a wrapper function for writing multiple SNV profiles present in a directory (and its sub-directories in recursive mode).

### Value

None; writes to disk only.

### Examples

    # Load test profiles
    data(test_profile_1)
    data(test_profile_2)
    profiles <- list(test_profile_1, test_profile_2)

    # Write test profile to file
    write_profiles(profiles, format = "TXT", directory = "./")

[Package seqCAT version 1.8.1 Index]