write_profile: Write SNV profile

Description Usage Arguments Details Value Examples

View source: R/write_profile.R

Description

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

Usage

1

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

1
2
3
4
5
# Load test profile
data(test_profile_1)

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

fasterius/seqCAT documentation built on Feb. 12, 2022, 7:24 p.m.