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

get.biallelic.matrix-methodsR Documentation

Get the biallelic matrix

Description

This function returns the biallelic matrix of a specific region.

Usage


## 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


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

pievos101/PopGenome documentation built on Feb. 24, 2023, 7:11 a.m.