loadPreviousRes: Previous clustering results loading

View source: R/sampleBuilding.R

loadPreviousResR Documentation

Previous clustering results loading

Description

Load previous clustering results obtained from previous analyses.

Usage

loadPreviousRes(data.sample, noise.cluster = "Noise")

Arguments

data.sample

sample object.

noise.cluster

character name of the cluster "Noise".

Details

loadPreviousRes loads previous results obtained from previous analyses.

Value

data.sample updated with previous clustering results.

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))
loadPreviousRes(x)



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