Learn R Programming

PopGenome (version 2.1.6)

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

Description

This function returns the biallelic matrix of a specific region.

Usage

## S3 method for class '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
# 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