getCodonsFromFasta: get codon positions from fasta

View source: R/getCodonsFromFasta.R

getCodonsFromFastaR Documentation

get codon positions from fasta

Description

Imports genotypes across a locus into matrix

Usage

getCodonsFromFasta(genome = genome, exons)

Arguments

GDS

GDS object with variant data to import genotypes from

locus

GRanges Locus to import genotypes for

minSites

numeric minimum number of sites as a proportion of loci length

nucleotide

logical Import RAW genotypes or nucleotides

Details

Authours: Chris Ward & Alastair Ludington Uses a GRanges locus to import genotypes, either nucleotide or RAW, from a GDS file

Value

A matrix of genotypes


CMWbio/geaR documentation built on April 22, 2023, 6:23 a.m.