Description Usage Arguments Details Value Examples
Read SNV profiles in a directory.
1 2 | read_profiles(profile_dir, pattern = ".profile.txt",
sample_names = FALSE)
|
profile_dir |
The directory containing the profiles to be read (path). |
pattern |
Pattern for file name or extension to be read (character). |
sample_names |
Add sample name based on file name; overrides profile sample if it already exists (boolean). |
This is a wrapper function for reading multiple SNV profiles present in a directory (and its sub-directories in recursive mode).
A list of data frames.
1 2 3 4 5 | # Path to test data
profile_dir = system.file("extdata", package = "seqCAT")
# Read test profiles
profile_list <- read_profiles(profile_dir, pattern = "profile.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.