simulateAndSafe: wraper to create all objects needed for the further (meta-)...

Description Usage Arguments See Also

Description

This wrapper simulates a data set, performs randomForest and extracts category frequency information and safes the according objects to the hard drive.

Usage

1
2
3
4
simulateAndSafe(seed = 123, n.obs = 500, n.snp = 200, 
	maf = rep(c(0.05, 0.1, 0.25, 0.4), each = 50), ntree = 500, 
	path = "~/", subpaths = c("SNPdata/", "rF/", "cforest/", "cF/"), 
	outprefix = "")

Arguments

seed

The seed to be used in data simulation.

n.obs

A integer. The number of observations.

n.snp

A integer. The number of SNPs.

maf

A numeric of length n.snps indicating the MAF with which the according SNP should be simulated.

ntree

Passed to randomForest.

path

The path in which to create the object sub-folders and save the objects to.

subpaths

The names of the folders where the according objects will be saved to.

outprefix

A character to prefix all object names when they are saved. Usually not needed, because the seed used in the function call will also be part of the names.

See Also

simulateSNPdata, simulateAndTable


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