set.ref.positions: Set reference positions for SNP data

Description Usage Arguments Value Examples

Description

This generic function sets the positions of the SNP data. Should be used if you use alignment formats to store SNP data (i.e., data restricted to the polymorphic positions).

Usage

1
2
## S4 method for signature 'GENOME'
set.ref.positions(object, positions)

Arguments

object

an object of class "GENOME"

positions

a list of reference positions

Value

returned value is a modified object of class "GENOME"

Examples

1
2
3
4
5
# GENOME.class <- readData("\home\Alignments")
# GENOME.class
# GENOME.class <- set.ref.positions(GENOME.class,list(c(1000,2001,3000),
#                 c(3200,12000)))
 

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