read_profile: Read SNV profile

Description Usage Arguments Details Value Examples

View source: R/read_profile.R

Description

Read an SNV profile stored on disk.

Usage

1
read_profile(file, sample_name = NULL)

Arguments

file

The SNV profile to be read (path).

sample_name

Sample name to be added; overrides profile sample if it already exists (character).

Details

This is a function for reading SNV profiles created from VCF files that were stored on disk.

Value

A data frame.

Examples

1
2
3
4
5
6
7
# Path to test data
profile = system.file("extdata",
                      "test_1.profile.txt.gz",
                      package = "seqCAT")

# Read test profile
profile <- read_profile(profile)

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