Learn R Programming

PopGenome (version 2.7.2)

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

Description

This function returns the biallelic matrix of a specific region.

Usage

# S4 method for 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

Run this code
# NOT RUN {
# GENOME.class <- readData("\home\Alignments")
# get.biallelic.matrix(GENOME.class,7) # biallelic matrix of the 7th alignment
# }

Run the code above in your browser using DataLab