columnLevels {PhenStat} | R Documentation

## Method "columnLevels"

### Description

Method removes null values from the column and calculates column basic stat. Returns: No of data points, No of levels, No of Genotype/Sex combinations, No of data points for each one combination.

### Usage

        columnLevels(dataset, columnName)

### Arguments

`dataset` | data frame created from file or from another source; mandatory argument
`columnName` | name of the column to check; mandatory argument

### Value

Numeric vector of length 6 or 7: No of data points, No of levels, No of Genotype/Sex combinations, No of data points for each one combination.

### Author(s)

Natalja Kurbatova, Natasha Karp, Jeremy Mason

### References

Karp N, Melvin D, Sanger Mouse Genetics Project, Mott R (2012): Robust and Sensitive Analysis of Mouse Knockout Phenotypes. PLoS ONE 7(12): e52410. doi:10.1371/journal.pone.0052410

West B, Welch K, Galecki A (2007): Linear Mixed Models: A practical guide using statistical software New York: Chapman & Hall/CRC 353 p.

[Package PhenStat version 2.17.0 Index]