read_profiles {seqCAT} | R Documentation

## Read SNV profiles

### Description

Read SNV profiles in a directory.

### Usage

    read_profiles(profile_dir, remove_mt = TRUE)

### Arguments

`profile_dir` | The directory containing the profiles to be read (path).
`remove_mt` | Remove or keep mitochondrial variants (boolean).

### Details

This is a wrapper function for reading multiple SNV profiles present in a directory (and its sub-directories in recursive mode).

### Value

A list of GRanges objects.

### Examples

    # Path to test data
    profile_dir = system.file("extdata",
                              package = "seqCAT")

    # Read test profiles
    profile_list <- read_profiles(profile_dir)

[Package seqCAT version 1.4.1 Index]