Skip to content

Commit

Permalink
Merge branch 'release-1.2.4.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
mcvaneede committed Sep 25, 2014
2 parents 080ebbf + b3ce335 commit 9a6abd9
Show file tree
Hide file tree
Showing 44 changed files with 1,035 additions and 553 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: RMINC
Version: 1.2.4.4
Version: 1.2.4.5
Date: 2014-07-29
Title: Package for reading and analyzing MINC2 files
Author: Jason Lerch <[email protected]>, Jim Nikelski
Expand All @@ -14,7 +14,7 @@ Depends:
grid,
lattice
Suggests:
nlme,
lme4,
qvalue
License: BSD
LazyLoad: yes
Expand Down
7 changes: 5 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export( fast.qvalue )

#############################
# minc_interface.R
export( getRMINCTestData )
export( minc.dimensions.sizes )
export( minc.get.hyperslab )
export( minc.get.volumes )
Expand Down Expand Up @@ -112,15 +113,17 @@ export( print.mincVoxel )
export( print.vertexMultiDim )
export( pt2 )
export( runRMINCTestbed )
export( verboseRun )
export( vertexFDR )
export( vertexLm )
export( vertexAnova )
export( vertexMean )
export( vertexSum )
export( vertexSD )
export( vertexSd )
export( vertexVar )
export( vertexTable )
export( wilcox.permutation.full )
export( writeVertex )
# rather not export the following... the function name is a bit too desciptive...
#export( f )

Expand Down Expand Up @@ -320,7 +323,7 @@ export( anatLm )
export( anatAnova )
export( anatRenameRows )
export( anatMean )
export( anatSD )
export( anatSd )
export( anatVar )
export( anatSum )
#############################
Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
New in Version 1.2.4.5
======================
* added/updated documentation for RMINC functions
* bug fix in mincLogLikRatio print function

New in Version 1.2.4.4
======================
* bug fix for mincLmer: the bug fix from 1.2.4.3 was incomplete
Expand Down
37 changes: 8 additions & 29 deletions R/civet.R
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,9 @@ civet.getFilenameNonlinearTransform <- function(scanID, baseDir, civetVersion="1
#' @return gf is returned with CIVET filenames
#' @seealso civet.readAllCivetFiles
#' @examples
#' gf = read.csv("~/SubjectTable.csv")
#' civet.getAllFilenames(gf,"ID","ABC123","~/CIVET","TRUE","1.1.12")
#' gf = civet.readAllCivetFiles("~/Atlases/AAL/AAL.csv",gf)
#' getRMINCTestData()
#' gf = read.csv("/tmp/rminctestdata/CIVET_TEST.csv")
#' gf = civet.getAllFilenames(gf,"ID","TEST","/tmp/rminctestdata/CIVET","TRUE","1.1.12")
###########################################################################################

civet.getAllFilenames <- function(gf, idvar, prefix, basedir, append=TRUE, civetVersion="1.1.9") {
Expand Down Expand Up @@ -623,28 +623,6 @@ civet.organizeCivetDatFilesWholeBrain<- function(dataFiles, civetVersion="1.1.12
#
# Example:
# dataFiles <- list of data files to organize
############################################################################################
#' @description Generates list of filenames output by CIVET
#' @name civet.getAllFilenames
#' @title civet.getAllFilenames
#' @usage civet.getAllFilenames(gf, idvar, prefix, basedir, append = TRUE, civetVersion = "1.1.9")
#' @param gf Data Frame with subject information
#' @param idvar column name in gf with subject IDs
#' @param prefix Prefix specified when CIVET was run
#' @param basedir directory where all CIVET output was stored
#' @param append Whether to append the results to the input gf
#' @param civetVersion Version of CIVET
#' @details Prior to running, read.csv may be called to generate the input argument gf.
#' The results will be stored under the column name CIVETFILES either in the input gf (if append = TRUE) or in a new gf.
#' Currently only CIVET versions 1.1.9 and 1.1.12 are supported.
#' @return gf is returned with CIVET filenames
#' @return mincLm Returns a vector of mincSingleDim class
#' @seealso civet.readAllCivetFiles
#' @examples
#' gf = read.csv("~/SubjectTable.csv")
#' civet.getAllFilenames(gf,"ID","ABC123","~/CIVET","TRUE","1.1.12")
#' gf = civet.readAllCivetFiles("~/Atlases/AAL/AAL.csv",gf)
###########################################################################################
# =============================================================================
civet.organizeCivetDatFilesMidWhiteGrey <- function(dataFiles, civetVersion="1.1.12") {

Expand Down Expand Up @@ -725,13 +703,14 @@ civet.organizeCivetTxtFilesVertex <- function(dataFiles) {
#' @param atlasFile Full path to the atlas on which CIVET was run ;
#' @details Prior to running, civet.getAllFilenames may be called to generate the input argument gf .
#' This function will extract the following information from the CIVET pipeline: Lobe Area (40 mm),
#' Lobe Thickness, Lobe Volume, GI, Mid Surface Native Area, Surface Native Volume, Native RMS RSL tLink (20mm), Native RMS tLink (20 mm)
#' Lobe Thickness, Lobe Volume, GI, Mid Surface Native Area, Surface Native Volume, Brain Volume Native RMS RSL tLink (20mm), Native RMS tLink (20 mm)
#' @return gf is returned with CIVET values
#' @seealso civet.getAllFilenames
#' @examples
#' gf = read.csv("~/SubjectTable.csv")
#' civet.getAllFilenames(gf,"ID","ABC123","~/CIVET","TRUE","1.1.12")
#' gf = civet.readAllCivetFiles("~/Atlases/AAL/AAL.csv",gf)
#' getRMINCTestData()
#' gf = read.csv("/tmp/rminctestdata/CIVET_TEST.csv")
#' gf = civet.getAllFilenames(gf,"ID","TEST","/tmp/rminctestdata/CIVET","TRUE","1.1.12")
#' gf = civet.readAllCivetFiles("/tmp/rminctestdata/AAL.csv",gf)
###########################################################################################
civet.readAllCivetFiles = function(atlasFile,gf)
{
Expand Down
Loading

0 comments on commit 9a6abd9

Please sign in to comment.