af.traj: Allele frequency trajectories

Description Usage Arguments Value Author(s) See Also

View source: R/loadaf.R

Description

Extract allele frequency trajectories of specific genomic loci from a sync object.

Usage

1
af.traj(sync, chr, pos, repl)

Arguments

sync

a sync object.

chr

character vector of chromosome names.

pos

numeric vector of sequence positions.

repl

numeric vector indicating the replicate(s).

Value

af.traj returns either a matrix or a list of matrices containing allele frequencies for the loci (chr and pos) and replicates repl specified. Rows and columns correspond to genomic loci in a certain replicate and time points, respectively.

Author(s)

Thomas Taus

See Also

af and coverage.


ThomasTaus/poolSeq documentation built on Feb. 17, 2020, 1:52 p.m.