data.table of covariates, and creates a
null distribution of the largest connected component size by permuting
subjects. If you would like to perform a t-test at each element, then supply
a covariates data.table with only a Study.ID and Group
column. The graph that is returned by this function will have a
t.stat edge attribute which is the t-statistic for that particular
connection.
NBS(A, covars, alternative = c("two.sided", "less", "greater"), p.init = 0.001, N = 1000, symmetric = FALSE)data.table of covariatesigraph graph object based on the initial threshold## Not run:
# max.comp.nbs <- NBS(A.norm.sub[[1]], covars.dti, N=5e3)
# ## End(Not run)
Run the code above in your browser using DataLab