readQSM: readQSM

Description Usage Arguments Details Value Examples

View source: R/QSM_funcs.r

Description

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

Usage

1
2
3
4
5
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

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

ashenkin/treestruct documentation built on Oct. 14, 2021, 1:54 a.m.