genotype_counts: Returns the number of non-missing genotypes per stratum

Description Usage Arguments Value Author(s)

View source: R/genotype_counts.R

Description

This function provides a quick summary of the observed data, by stratum (optional) of the number of samples without missing data.

Usage

1
genotype_counts(x, stratum = NULL)

Arguments

x

A data.frame

stratum

The name of the column to use as a stratum. If not given, the entire data set is used (default=NULL which will lump all data).

Value

A data.frame with Stratum (set to "All" if not passed as param) and the number of observations without missing genetic data per column.

Author(s)

Rodney J. Dyer rjdyer@vcu.edu


MarianaLag/Mlag documentation built on Feb. 13, 2020, 12:30 a.m.