Description Usage Arguments Value Author(s) Examples
View source: R/rapidlyInspectImageData.R
rapidlyInspectImageData collects basic statistics over a dataset and returns them in a dataframe.
1 | rapidlyInspectImageData(myfiles)
|
myfiles |
input list of filenames |
matrix is output
Avants BB
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.