createResFolder: Results directories creation

View source: R/sampleBuilding.R

createResFolderR Documentation

Results directories creation

Description

Create results directories for the sample.

Usage

createResFolder(data.sample, dir.name = "", dir.path = "")

Arguments

data.sample

sample object.

dir.name

directory name where to store results.

dir.path

path where to create results directory.

Details

createResFolder creates results directories for the sample.

Value

data.sample updated with results directories.

Examples

dat <- rbind(matrix(rnorm(100, mean = 0, sd = 0.3), ncol = 2), 
             matrix(rnorm(100, mean = 2, sd = 0.3), ncol = 2), 
             matrix(rnorm(100, mean = 4, sd = 0.3), ncol = 2))
tf <- tempfile()
write.table(dat, tf, sep=",", dec=".")

x <- importSample(file.features=tf, dir.save=dirname(tf))

#Already called in importSample 
createResFolder(x, dir.path=dirname(tf))



RclusTool documentation built on May 29, 2024, 5:23 a.m.