readQSM: readQSM

View source: R/QSM_funcs.r

readQSMR Documentation

readQSM

Description

reads in a QSM file by dispatching to readQSM.mat or readQSM.treegraph

Usage

readQSM(
  qsmfile,
  qsmtype = c("by_ext", "QSMtree", "treegraph"),
  qsmver = "by_name"
)

Arguments

qsmfile

path to file

qsmtype

program used to create QSM - currently either QSMtree (.mat) or treegraph (.json). Default: "by_ext" (i.e., .mat = QSMtree, .json = treegraph)

qsmver

version of treeQSM used to make the .mat file, Default: "by_name"

Details

DETAILS

Value

a 3-element list of file (filename), CylData, and BranchData

Examples

## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

ashenkin/treestruct documentation built on June 11, 2025, 10:40 a.m.