# NOT RUN {
if (have_fs()) {
outfile = aparcstats2table(subjects = "bert",
hemi = "lh",
meas = "thickness")
df = read_fs_table(outfile)
seg_outfile = asegstats2table(subjects = "bert", meas = "mean")
df_seg = read_fs_table(seg_outfile)
}
# }
# NOT RUN {
### using the pipe
if (requireNamespace("magrittr", quietly = TRUE)) {
df_seg = asegstats2table(subjects = "bert", meas = "mean") %>%
read_fs_table
}
# }
Run the code above in your browser using DataLab