saveDimReduction: Save results of dimensionality reduction

Description Usage Arguments

View source: R/output.R

Description

Save results of dimensionality reduction

Usage

1
2
saveDimReduction(results, method, outdir = NULL, name = NULL,
  prefix = NULL)

Arguments

results

named list of results from dimensionality reduction; Y_red: named list with dimensionality reduced phenotypes (reducedY) and object returned by specified dimensionality reduction method (results) with additional output. M: vector [double] with Trustworthiness and Continuity estimates for the dimensionality reduction.

method

[string] name of dimensionality reduction method; will be appended to output file name.

outdir

[string] full path/to/directory [string] where results will be saved. Full file name will be created by outdir/name_method.csv. Alternatively, prefix can be provided to create file prefix_method.csv.

name

[string] name of output file

prefix

[string] of output file name, containing full path/to/directory [string] where results will be saved. Results will be saved as prefix_method.csv


HannahVMeyer/DrStable documentation built on Jan. 29, 2021, 11:42 a.m.