View source: R/commandlineFunctions.R
runDimensionalityReduction runs without arguments. Upon call, it reads
command-line parameters and reads the [highdim] and potential [cov] data.
If provided, [cov] will be regressed from [highdim] prior to dimensionality
reduction. Dimensionality reduction and saving of the results are done by
passing the [highdim] data, [method], [dim], [neighbours] and potential
optional other, method-specific parameters ([dimRedParams]) to
computeDimReduction
and saveDimReduction
. For
details on input to computeDimReduction
and
saveDimReduction
, please refer to their help pages. For help on
the command line arguments that can be passed, see examples below. From the
command line, the help function can be called via
Rscript -e "Stability::runDimensionalityReduction()" –args –help
1 |
1 2 3 4 5 6 7 8 9 10 11 12 | # (not run)
# Rscript -e "Stability::runDimensionalityReduction()" \
#--args \
#--highdim=/path/to/highdimfile \
#--cov=/path/to/optional/covariatefile \
#--seed=234 \
#--dim=10 \
#--neighbours=8 \
#--method=DRR \
#--name=Dimreduction_highdimfile \
#--outdir=/tmp \
#--showProgress \
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.