write_profiles: Write SNV profiles

Description Usage Arguments Details Value Examples

View source: R/write_profile.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
# 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 = "./")

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