read_profile {seqCAT} | R Documentation |
Read an SNV profile stored on disk.
read_profile(file, sample_name = NULL)
file |
The SNV profile to be read (path). |
sample_name |
Sample name to be added; overrides profile sample if it already exists (character). |
This is a function for reading SNV profiles created from VCF files that were stored on disk.
A data frame.
# Path to test data profile = system.file("extdata", "test_1.profile.txt.gz", package = "seqCAT") # Read test profile profile <- read_profile(profile)