set.outgroup-methods: Define an outgroup

Description Usage Arguments Examples

Description

This generic function defines the outgroup by matching the specified vector against each region.

Usage

1
2
## S4 method for signature 'GENOME'
set.outgroup(object,new.outgroup=FALSE, diploid=FALSE)

Arguments

object

an object of class "GENOME"

new.outgroup

a vector of outgroup individuals

diploid

if diploid data is present

Examples

1
2
3
4
# GENOME.class <- readData("\home\Alignments")
# outgroup <- c("seq1","seq2")
# GENOME.class <- set.outgroup(GENOME.class,new.outgroup=outgroup)
# GENOME.class <- neutrality.stats(GENOME.class)

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