alleles: Allelic information

Description Usage Arguments Value Author(s) See Also

View source: R/loadaf.R

Description

Extract allelic information, such as reference, minor, major and rising allele, of all genomic loci from a sync object.

Usage

1
alleles(sync, chr, pos)

Arguments

sync

a sync object.

chr

character vector of chromosome names. If both chr and pos are missing (default) allelic information of all loci will be returned.

pos

numeric vector of sequence positions. If both chr and pos are missing (default) allelic information of all loci will be returned.

Value

alleles returns a data.table containing information for each genomic locus in sync. Please note that the order of genomic loci in the sync-file is not preserved. The returned data.table provides the following columns:

chr

chromosome name.

pos

sequence position.

ref

reference allele.

major

major allele.

minor

minor allele.

rising

rising allele.

Author(s)

Thomas Taus

See Also

polarization, af and af.traj.


ThomasTaus/poolSeq documentation built on Oct. 22, 2018, 7:21 p.m.