phsc.get.assignments.by.window.for.couple: Get transmission assignments per window

View source: R/phyloscan.fun.private.R

phsc.get.assignments.by.window.for.coupleR Documentation

Get transmission assignments per window

Description

This function extracts all transmission assignments per window for two individuals.

Usage

phsc.get.assignments.by.window.for.couple(id1, id2, infiles)

Arguments

id1

Identifier of the first individual. This is the entry for that individual in the phyloscanner .bam file.

id2

Identifier of the second individual.

infiles

One or more file names of transmission stats rda files. These end typically with '_trmStatsPerWindow.rda'.

Value

data.table with columns ID1 ID2 W_FROM (window start) W_TO (window end), and further columns for each infile that give the transmission assignments per window.


olli0601/Phyloscanner.R.utilities documentation built on April 16, 2024, 5:44 a.m.