export.result: Saves MCFS-ID result into set csv files

View source: R/rmcfs.R

export.resultR Documentation

Saves MCFS-ID result into set csv files

Description

Saves csv files with result obtained by the MCFS-ID.

Usage

export.result(mcfs_result, path = "./", label = "rmcfs", zip = TRUE)

Arguments

mcfs_result

result of the MCFS-ID experiment returned by mcfs function.

path

path to the MCFS-ID results files. This parameter can also point to the zip result file.

label

label of the experiment and common name for output files.

zip

if = TRUE, saves all results data as one zip file.

Examples

  ## Not run: ###dontrunbegin
  
  # create input data
  adata <- artificial.data(rnd_features = 10)
  showme(adata)
  
  # Parametrize and run MCFS-ID procedure
  result <- mcfs(class~., adata, cutoffPermutations = 0, featureFreq = 10,
                  finalCV = FALSE, finalRuleset = FALSE, threadsNumber = 2)

  # Export and import R result to/from files
  path <- file.path(tempdir(), "artificial.zip")
  export.result(result, path = path)
  result <- import.result(path = path)
  
  
## End(Not run)###dontrunend

rmcfs documentation built on Sept. 11, 2024, 8:41 p.m.

Related to export.result in rmcfs...