rapidlyInspectImageData: Simple rapidlyInspectImageData function.

Description Usage Arguments Value Author(s) Examples

View source: R/rapidlyInspectImageData.R

Description

rapidlyInspectImageData collects basic statistics over a dataset and returns them in a dataframe.

Usage

1

Arguments

myfiles

input list of filenames

Value

matrix is output

Author(s)

Avants BB

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
 fnl <- c( getANTsRData("r16"),
 getANTsRData("r27"),
 getANTsRData("r62"),
 getANTsRData("r64"),
 getANTsRData("r85") )
mm<-rapidlyInspectImageData( fnl )
if ( !usePkg("DMwR") | ! usePkg("fpc") )
   { print("Need DMwR and fpc packages") } else {
  pamres <- fpc::pamk(mm,1:4)
  outlier.scores <- DMwR::lofactor( mm, k=3 )
  outliers <- order(outlier.scores)
  }

## End(Not run)

neuroconductor-devel/ANTsR documentation built on April 1, 2021, 1:02 p.m.