import.result: Reads csv result files produced by the MCFS-ID Java module

Description Usage Arguments Value Examples

View source: R/rmcfs.R

Description

Reads csv result files produced by the MCFS-ID Java module.

Usage

1
import.result(path = "./", label = NA)

Arguments

path

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

label

experiment label for results files (name of the data).

Value

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
  ## 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. 18, 2021, 5:07 p.m.

Related to import.result in rmcfs...