tree_plot: Plot Trees from Final SNP Selection

Description Usage Arguments Value

Description

Plots the trees obtained using snp_tree.

Usage

1
tree_plot(tree, nrow = 2, ncol = 4, palette = "BlGnYl")

Arguments

tree

Object obtained from the snp_tree function.

nrow, ncol

Integers that specify the number of rows and columns in the plotting screen.

palette

User specified palette using options from rpart.plot.

Value

plot_tree plots the trees obtained from snp_tree using the rpart.plot package. If a plot is missing for a value of alpha, it is because one or no variables were retained from the elastic net model.


jillbo1000/gwas3 documentation built on June 14, 2019, 3:08 a.m.