Learn R Programming

ANTsR (version 1.0)

regressionNetworkViz: Visualize a regression result by a d3 network visualization.

Description

Use either a force directed graph or a Sankey graph to show relationships between predictors and outcome variables. correlateMyOutcomes should correspond to the outcome variables ...

Usage

regressionNetworkViz( mylm , sigthresh=0.05, whichviz="Sankey", outfile="temp2.html", correlateMyOutcomes = brainpreds , doFDR=TRUE )

Arguments

myLM

lm model output from bigLMStats

Value

html file is output

Examples

Run this code
# NOT RUN {
colnames(brainpreds)<-paste("Vox",c(1:ncol(brainpreds)),sep='')
colnames( mylm$beta.pval )<-colnames(brainpreds)
demognames<-rownames(mylm$beta.pval)
regressionNetworkViz( mylm , sigthresh=0.05, outfile="temp2.html") 
# }

Run the code above in your browser using DataLab