write_profile {seqCAT} | R Documentation

## Write SNV profile

### Description

Write an SNV profile to a file for later re-use.

### Usage

    write_profile(profile, file)

### Arguments

`profile` | The SNV profile to be written (data frame).
`file` | The file to write to (path).

### Details

This is a function for writing SNV profiles (created from VCF files) to disk for later re-use. Several formats are allowed, including BED, GTF, GFF and normal text files, which are automatically recognised based on the supplied filename.

### Value

None; writes to disk only.

### Examples

    # Load test profile
    data(test_profile_1)

    # Write test profile to file
    write_profile(test_profile_1, "test_profile_1.txt")

[Package seqCAT version 1.10.0 Index]