get.biallelic.matrix-methods: Get the biallelic matrix

Description Usage Arguments Value Examples

Description

This function returns the biallelic matrix of a specific region.

Usage

1
2
## S4 method for signature 'GENOME'
get.biallelic.matrix(object,region)

Arguments

object

An object of class "GENOME"

region

ID of the region

Value

Biallelic matrix
rows: names of individuals
columns: biallelic sites

Examples

1
2
# GENOME.class <- readData("\home\Alignments")
# get.biallelic.matrix(GENOME.class,7) # biallelic matrix of the 7th alignment

PopGenome documentation built on Feb. 1, 2020, 1:07 a.m.