plot.parameter: Plot penalization parameters

Description Usage Arguments Value Author(s) See Also

View source: R/fact_param.R

Description

Function to plot changes in parameter versus a tracking variable

Usage

1
2
3
4
## S3 method for class 'parameter'
plot(x, y, y.max, y.name, x.name, fitmodel = FALSE, ww,
  print.file = NULL, range.fit = NULL, log.file = NULL,
  logarithm.x = FALSE)

Arguments

x

Vector of parameter values

y

Tracking variable

y.max

Maximum value of the tracking variable

y.name

Name of tracking variable

x.name

Name of the parameter

fitmodel

Fit a linear model or a cubic spline on the data

ww

Information weigth to find optimal point between y.min and y.max

print.file

Print plots to file

range.fit

Range of values of x to fit the model

log.file

Log.file to print results

logarithm.x

Plot x axis in logarithmic scale

Value

opt.param.i Vector of optimal parameters if fitmodel == TRUE, otherwise the function returns only a plot of both variables

Author(s)

Luis G. Leal, lgl15@imperial.ac.uk

See Also

Other Factorisation functions: clus.membership, cnmtf, consensus.clust, hierarchical.clust, initialise.UV, neg.constrain, parameters.cnmtf, pos.constrain, psvd.init, regression.snps, score.cnmtf, synthetic.gwas


lgl15/cnmtf documentation built on May 28, 2019, 6:33 p.m.