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

View source: R/genotype_counts.R

genotype_countsR Documentation

Returns the number of non-missing genotypes per stratum

Description

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

Usage

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


dyerlab/gstudio documentation built on Feb. 2, 2024, 8:24 p.m.