read_profile {seqCAT} | R Documentation

## Read SNV profile

### Description

Read an SNV profile stored on disk.

### Usage

    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

    # Path to test data
    profile = system.file("extdata",
                          "test_1.profile.txt.gz",
                          package = "seqCAT")

    # Read test profile
    profile <- read_profile(profile)

[Package seqCAT version 1.10.0 Index]