tableLevelsVsLayerByMAF: table category frequency information by MAF

Description Usage Arguments Details Value See Also

Description

Given a CategoryFrequenciesForest-object this function returns tabled information on how often 1-, 2- and 3-categorical variables are in the different layers stratified by MAF.

Usage

1
2
3
tableLevelsVsLayerByMAF(cF, rF, 
	mafIntervals = list(maf0.05 = 1:50, maf0.10 = 51:100, 
	maf0.25 = 101:150, maf0.40 = 151:200))

Arguments

cF

An CategoryFrequenciesForest-object as returned by getCategoryFrequenciesForest.

rF

An randomForest-object as returned by randomForest.

mafIntervals

A list with each element giving the indices of variables being simulated with the according MAF. Depends on how the data was simulated in simulateSNPdata.

Details

This function splits the data set by MAF as indicated in mafIntervals and calls tableLevelsVsLayer which in turn calls the Rcpp/C++ function of the same name.

Value

A list of same length as mafIntervals. Each element contains tabled information for one MAF agglomerated over the whole forest as returned by tableLevelsVsLayer.

See Also

tableLevelsVsLayer, getCategoryFrequenciesForest


adibender/rFtools documentation built on May 14, 2019, 5:13 a.m.