makeplot: Making plots to visualize nonlinear associations

Description Usage Arguments Value Examples

View source: R/makeplot.R

Description

This function makes plots to visualize nonlinear associations.

Usage

1
makeplot(object, phenoname, genename, ...)

Arguments

object

a NBAMSeqDataSet object

phenoname

the name of nonlinear variable to be visualized

genename

the name of gene to be visualized

...

additional arguments provided to plot.gam

Value

the plot made by plot.gam() function

Examples

1
2
3
gsd = makeExample(n = 3, m = 10)
gsd = NBAMSeq(gsd)
makeplot(gsd, "pheno", "gene3", main = "gene10")

NBAMSeq documentation built on Nov. 8, 2020, 6:26 p.m.