columnChecks: Method "columnChecks"

Description Usage Arguments Value Author(s) References

View source: R/testDataset.R

Description

Checks the particular column of the dataset for eligibility. Returns: presence of column, all data are numeric, number of levels that passed check (number of data points for each genotype/sex combination is at least equals to threshold).

Usage

1
2
3
    columnChecks(dataset, 
				columnName, 
				dataPointsThreshold=4)

Arguments

dataset

data frame created from file or from another source; mandatory argument

columnName

name of the column to check; mandatory argument

dataPointsThreshold

number of data points for each genotype/sex combination; default value is set to 4

Value

Boolean vector of length 3: presence of column, all data are numeric, number of levels that passed check (number of data points for each genotype/sex combination is at least equals to threshold).

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.


PhenStat documentation built on Nov. 8, 2020, 8:13 p.m.