data.table of covariates, and creates a
null distribution of the largest connected component size by permuting
subjects across groups. The covariates data.table must have (at least)
a Group column.NBS(A, covars, con.vec, X = NULL, p.init = 0.001, N = 1000,
symmetric = FALSE, alternative = c("two.sided", "less", "greater"), ...)data.table of covariatesNULL)0.001)1e3)FALSE)two.sided)brainGraph_GLM_designigraph graph object based on the initial thresholdt.stat edge
attribute which is the t-statistic for that particular connection, along with
a p edge attribute, which is the p-value for that connection.
Additionally, each vertex will have a p.nbs attribute representing
\(1 - \) the p-value associated with that vertex's component.brainGraph_GLM_design, brainGraph_GLM_fit## Not run: ------------------------------------
# max.comp.nbs <- NBS(A.norm.sub[[1]], covars.dti, N=5e3)
## ---------------------------------------------
Run the code above in your browser using DataLab