missing_data: This function calculates the percent of missing genotypes for...

Description Usage Arguments Examples

View source: R/missing_data.R

Description

This function calculates the percent of missing genotypes for each population from a genind object

Usage

1
missing_data(genind)

Arguments

input.file

A genind object

Examples

1
2
3
4
5
6
7
8
 ## set directory for results to be written
 setwd("path/to/working/directory")

 ## load the example data
 data(rainbow.genind)

 # calculate the percent polymorphic loci per population
 res <- missing_data(rainbow.genind)

pygmyperch/melfuR documentation built on Oct. 10, 2020, 1:23 p.m.