Learn R Programming

PopGenome (version 1.2.6)

set.synnonsyn-methods: Sets synonymous positions for SNP data

Description

This generic function verifies which of the observed biallelic positions are synonymous.

Usage

## S3 method for class 'GENOME':
set.synnonsyn(object,ref.chr)

Arguments

object
an object of class "GENOME"
ref.chr
the reference chromosome in FASTA format

Value

  • returned value is an modified object of class "GENOME"

Examples

Run this code
# GENOME.class <- readData("\home\Alignments",gffpath="GFF.Folder")
# GENOME.class 
# GENOME.class <- set.synnonsyn(GENOME.class,ref.chr="chromosome1.fas")

Run the code above in your browser using DataLab