Learn R Programming

Signac (version 1.14.0)

ReadMGATK: Read MGATK output

Description

Read output files from MGATK (https://github.com/caleblareau/mgatk).

Usage

ReadMGATK(dir, verbose = TRUE)

Value

Returns a list containing a sparse matrix (counts) and two dataframes (depth and refallele).

The sparse matrix contains read counts for each base at each position and strand.

The depth dataframe contains the total depth for each cell. The refallele dataframe contains the reference genome allele at each position.

Arguments

dir

Path to directory containing MGATK output files

verbose

Display messages

Examples

Run this code
if (FALSE) {
data.dir <- system.file("extdata", "test_mgatk", package="Signac")
mgatk <- ReadMGATK(dir = data.dir)
}

Run the code above in your browser using DataLab