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")

reese3928/NBAMSeq documentation built on Oct. 29, 2020, 8:06 a.m.