createResFolder: Results directories creation

Description Usage Arguments Details Value Examples

View source: R/sampleBuilding.R

Description

Create results directories for the sample.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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()
dir <- tempdir()
write.table(dat, tf, sep=",", dec=".")

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

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

RclusTool documentation built on Feb. 4, 2020, 5:08 p.m.