Generate NGF using eNODAL_obj object

NGFPlot(
  eNODAL_obj,
  Zaxis,
  XYaxis,
  By = NULL,
  scaled = T,
  type = NULL,
  formula0 = NULL,
  ...
)

Arguments

Zaxis

An index or name of vector to select a variable for Zaxis.

XYaxis

Variables of XYaxis, can be chosen from all continuous variable in meta1 and meta2. If more than one vector provided, will automatically do choose(n,2)

By

A factor used for by in gam fitting. If it is NULL, will not fit with by.

scaled

Whether scale for Z variable.

type

Can be chosen from "Int", "Add", "Meta1" and "Meta2", for different types of visualization. By default is NULL, will be chosen from eNODAL_obj fitting result.

formula0

Formula used for gam fitting. By default is NULL. Will automatically determined by other parameters.

...

Other parameters can be passed to NGFPlot.

eNODAL

An eNODAL_obj object

Value

A list of NGF plot.

See also

Examples

data(eNODAL_example) p = NGFPlot(eNODAL_example, 1, c("intake.P", "intake.C"))