getnamesofvolumes: Get Names of Volumes

Description Usage Arguments Value Author(s) Examples

View source: R/rsurfer.R

Description

Gets the names of all the features that are volumes

Usage

1
2
getnamesofvolumes(data = NULL,
  excludeFields = c("EstimatedTotalIntraCranialVol"))

Arguments

data

Your subject data frame, if you have removed any columns from your data frame, the function will only return the volumes in this data frame. If this parameter is NULL then a new data frame will be randomly generated

excludeFields

A vector of volume names to exclude, to exclude nothing set this parameter to NULL

Value

A vector of the names of all the features which are volumes

Author(s)

Alexander Luke Spedding, alexspedding271@gmail.com

Examples

1
2
3
getnamesofvolumes()
getnamesofvolumes(NULL, NULL)
getnamesofvolumes(NULL, excludeFields = c("left.CA1", "EstimatedTotalIntraCranialVol"))

Example output

Loading required package: stringr
Loading required package: gdata
sh: 1: cannot create /dev/null: Permission denied
gdata: Unable to locate valid perl interpreter
gdata: 
gdata: read.xls() will be unable to read Excel XLS and XLSX files
gdata: unless the 'perl=' argument is used to specify the location of a
gdata: valid perl intrpreter.
gdata: 
gdata: (To avoid display of this message in the future, please ensure
gdata: perl is installed and available on the executable search path.)
sh: 1: cannot create /dev/null: Permission denied
gdata: Unable to load perl libaries needed by read.xls()
gdata: to support 'XLX' (Excel 97-2004) files.

gdata: Unable to load perl libaries needed by read.xls()
gdata: to support 'XLSX' (Excel 2007+) files.

gdata: Run the function 'installXLSXsupport()'
gdata: to automatically download and install the perl
gdata: libaries needed to support Excel XLS and XLSX formats.

Attaching package: 'gdata'

The following object is masked from 'package:stats':

    nobs

The following object is masked from 'package:utils':

    object.size

The following object is masked from 'package:base':

    startsWith

  [1] "Left.Hippocampus.HS"                "left.presubiculum"                 
  [3] "left.CA1"                           "left.CA2.3"                        
  [5] "left.fimbria"                       "left.subiculum"                    
  [7] "left.CA4.DG"                        "left.hippocampal.fissure"          
  [9] "Right.Hippocampus.HS"               "right.presubiculum"                
 [11] "right.CA1"                          "right.CA2.3"                       
 [13] "right.fimbria"                      "right.subiculum"                   
 [15] "right.CA4.DG"                       "right.hippocampal.fissure"         
 [17] "lh.bankssts.volume"                 "lh.caudalanteriorcingulate.volume" 
 [19] "lh.caudalmiddlefrontal.volume"      "lh.cuneus.volume"                  
 [21] "lh.entorhinal.volume"               "lh.fusiform.volume"                
 [23] "lh.inferiorparietal.volume"         "lh.inferiortemporal.volume"        
 [25] "lh.isthmuscingulate.volume"         "lh.lateraloccipital.volume"        
 [27] "lh.lateralorbitofrontal.volume"     "lh.lingual.volume"                 
 [29] "lh.medialorbitofrontal.volume"      "lh.middletemporal.volume"          
 [31] "lh.parahippocampal.volume"          "lh.paracentral.volume"             
 [33] "lh.parsopercularis.volume"          "lh.parsorbitalis.volume"           
 [35] "lh.parstriangularis.volume"         "lh.pericalcarine.volume"           
 [37] "lh.postcentral.volume"              "lh.posteriorcingulate.volume"      
 [39] "lh.precentral.volume"               "lh.precuneus.volume"               
 [41] "lh.rostralanteriorcingulate.volume" "lh.rostralmiddlefrontal.volume"    
 [43] "lh.superiorfrontal.volume"          "lh.superiorparietal.volume"        
 [45] "lh.superiortemporal.volume"         "lh.supramarginal.volume"           
 [47] "lh.frontalpole.volume"              "lh.temporalpole.volume"            
 [49] "lh.transversetemporal.volume"       "lh.insula.volume"                  
 [51] "rh.bankssts.volume"                 "rh.caudalanteriorcingulate.volume" 
 [53] "rh.caudalmiddlefrontal.volume"      "rh.cuneus.volume"                  
 [55] "rh.entorhinal.volume"               "rh.fusiform.volume"                
 [57] "rh.inferiorparietal.volume"         "rh.inferiortemporal.volume"        
 [59] "rh.isthmuscingulate.volume"         "rh.lateraloccipital.volume"        
 [61] "rh.lateralorbitofrontal.volume"     "rh.lingual.volume"                 
 [63] "rh.medialorbitofrontal.volume"      "rh.middletemporal.volume"          
 [65] "rh.parahippocampal.volume"          "rh.paracentral.volume"             
 [67] "rh.parsopercularis.volume"          "rh.parsorbitalis.volume"           
 [69] "rh.parstriangularis.volume"         "rh.pericalcarine.volume"           
 [71] "rh.postcentral.volume"              "rh.posteriorcingulate.volume"      
 [73] "rh.precentral.volume"               "rh.precuneus.volume"               
 [75] "rh.rostralanteriorcingulate.volume" "rh.rostralmiddlefrontal.volume"    
 [77] "rh.superiorfrontal.volume"          "rh.superiorparietal.volume"        
 [79] "rh.superiortemporal.volume"         "rh.supramarginal.volume"           
 [81] "rh.frontalpole.volume"              "rh.temporalpole.volume"            
 [83] "rh.transversetemporal.volume"       "rh.insula.volume"                  
 [85] "Left.Lateral.Ventricle"             "Left.Inf.Lat.Vent"                 
 [87] "Left.Cerebellum.White.Matter"       "Left.Cerebellum.Cortex"            
 [89] "Left.Thalamus.Proper"               "Left.Caudate"                      
 [91] "Left.Putamen"                       "Left.Pallidum"                     
 [93] "X3rd.Ventricle"                     "X4th.Ventricle"                    
 [95] "Brain.Stem"                         "Left.Hippocampus"                  
 [97] "Left.Amygdala"                      "CSF"                               
 [99] "Left.Accumbens.area"                "Left.VentralDC"                    
[101] "Left.vessel"                        "Left.choroid.plexus"               
[103] "Right.Lateral.Ventricle"            "Right.Inf.Lat.Vent"                
[105] "Right.Cerebellum.White.Matter"      "Right.Cerebellum.Cortex"           
[107] "Right.Thalamus.Proper"              "Right.Caudate"                     
[109] "Right.Putamen"                      "Right.Pallidum"                    
[111] "Right.Hippocampus"                  "Right.Amygdala"                    
[113] "Right.Accumbens.area"               "Right.VentralDC"                   
[115] "Right.vessel"                       "Right.choroid.plexus"              
[117] "X5th.Ventricle"                     "WM.hypointensities"                
[119] "Left.WM.hypointensities"            "Right.WM.hypointensities"          
[121] "non.WM.hypointensities"             "Left.non.WM.hypointensities"       
[123] "Right.non.WM.hypointensities"       "Optic.Chiasm"                      
[125] "CC_Posterior"                       "CC_Mid_Posterior"                  
[127] "CC_Central"                         "CC_Mid_Anterior"                   
[129] "CC_Anterior"                        "BrainSegVol"                       
[131] "BrainSegVolNotVent"                 "BrainSegVolNotVentSurf"            
[133] "lhCortexVol"                        "rhCortexVol"                       
[135] "CortexVol"                          "lhCorticalWhiteMatterVol"          
[137] "rhCorticalWhiteMatterVol"           "CorticalWhiteMatterVol"            
[139] "SubCortGrayVol"                     "TotalGrayVol"                      
[141] "SupraTentorialVol"                  "SupraTentorialVolNotVent"          
[143] "SupraTentorialVolNotVentVox"        "MaskVol"                           
[145] "BrainSegVol.to.eTIV"                "MaskVol.to.eTIV"                   
[147] "lhSurfaceHoles"                     "rhSurfaceHoles"                    
[149] "SurfaceHoles"                      
  [1] "Left.Hippocampus.HS"                "left.presubiculum"                 
  [3] "left.CA1"                           "left.CA2.3"                        
  [5] "left.fimbria"                       "left.subiculum"                    
  [7] "left.CA4.DG"                        "left.hippocampal.fissure"          
  [9] "Right.Hippocampus.HS"               "right.presubiculum"                
 [11] "right.CA1"                          "right.CA2.3"                       
 [13] "right.fimbria"                      "right.subiculum"                   
 [15] "right.CA4.DG"                       "right.hippocampal.fissure"         
 [17] "lh.bankssts.volume"                 "lh.caudalanteriorcingulate.volume" 
 [19] "lh.caudalmiddlefrontal.volume"      "lh.cuneus.volume"                  
 [21] "lh.entorhinal.volume"               "lh.fusiform.volume"                
 [23] "lh.inferiorparietal.volume"         "lh.inferiortemporal.volume"        
 [25] "lh.isthmuscingulate.volume"         "lh.lateraloccipital.volume"        
 [27] "lh.lateralorbitofrontal.volume"     "lh.lingual.volume"                 
 [29] "lh.medialorbitofrontal.volume"      "lh.middletemporal.volume"          
 [31] "lh.parahippocampal.volume"          "lh.paracentral.volume"             
 [33] "lh.parsopercularis.volume"          "lh.parsorbitalis.volume"           
 [35] "lh.parstriangularis.volume"         "lh.pericalcarine.volume"           
 [37] "lh.postcentral.volume"              "lh.posteriorcingulate.volume"      
 [39] "lh.precentral.volume"               "lh.precuneus.volume"               
 [41] "lh.rostralanteriorcingulate.volume" "lh.rostralmiddlefrontal.volume"    
 [43] "lh.superiorfrontal.volume"          "lh.superiorparietal.volume"        
 [45] "lh.superiortemporal.volume"         "lh.supramarginal.volume"           
 [47] "lh.frontalpole.volume"              "lh.temporalpole.volume"            
 [49] "lh.transversetemporal.volume"       "lh.insula.volume"                  
 [51] "rh.bankssts.volume"                 "rh.caudalanteriorcingulate.volume" 
 [53] "rh.caudalmiddlefrontal.volume"      "rh.cuneus.volume"                  
 [55] "rh.entorhinal.volume"               "rh.fusiform.volume"                
 [57] "rh.inferiorparietal.volume"         "rh.inferiortemporal.volume"        
 [59] "rh.isthmuscingulate.volume"         "rh.lateraloccipital.volume"        
 [61] "rh.lateralorbitofrontal.volume"     "rh.lingual.volume"                 
 [63] "rh.medialorbitofrontal.volume"      "rh.middletemporal.volume"          
 [65] "rh.parahippocampal.volume"          "rh.paracentral.volume"             
 [67] "rh.parsopercularis.volume"          "rh.parsorbitalis.volume"           
 [69] "rh.parstriangularis.volume"         "rh.pericalcarine.volume"           
 [71] "rh.postcentral.volume"              "rh.posteriorcingulate.volume"      
 [73] "rh.precentral.volume"               "rh.precuneus.volume"               
 [75] "rh.rostralanteriorcingulate.volume" "rh.rostralmiddlefrontal.volume"    
 [77] "rh.superiorfrontal.volume"          "rh.superiorparietal.volume"        
 [79] "rh.superiortemporal.volume"         "rh.supramarginal.volume"           
 [81] "rh.frontalpole.volume"              "rh.temporalpole.volume"            
 [83] "rh.transversetemporal.volume"       "rh.insula.volume"                  
 [85] "Left.Lateral.Ventricle"             "Left.Inf.Lat.Vent"                 
 [87] "Left.Cerebellum.White.Matter"       "Left.Cerebellum.Cortex"            
 [89] "Left.Thalamus.Proper"               "Left.Caudate"                      
 [91] "Left.Putamen"                       "Left.Pallidum"                     
 [93] "X3rd.Ventricle"                     "X4th.Ventricle"                    
 [95] "Brain.Stem"                         "Left.Hippocampus"                  
 [97] "Left.Amygdala"                      "CSF"                               
 [99] "Left.Accumbens.area"                "Left.VentralDC"                    
[101] "Left.vessel"                        "Left.choroid.plexus"               
[103] "Right.Lateral.Ventricle"            "Right.Inf.Lat.Vent"                
[105] "Right.Cerebellum.White.Matter"      "Right.Cerebellum.Cortex"           
[107] "Right.Thalamus.Proper"              "Right.Caudate"                     
[109] "Right.Putamen"                      "Right.Pallidum"                    
[111] "Right.Hippocampus"                  "Right.Amygdala"                    
[113] "Right.Accumbens.area"               "Right.VentralDC"                   
[115] "Right.vessel"                       "Right.choroid.plexus"              
[117] "X5th.Ventricle"                     "WM.hypointensities"                
[119] "Left.WM.hypointensities"            "Right.WM.hypointensities"          
[121] "non.WM.hypointensities"             "Left.non.WM.hypointensities"       
[123] "Right.non.WM.hypointensities"       "Optic.Chiasm"                      
[125] "CC_Posterior"                       "CC_Mid_Posterior"                  
[127] "CC_Central"                         "CC_Mid_Anterior"                   
[129] "CC_Anterior"                        "BrainSegVol"                       
[131] "BrainSegVolNotVent"                 "BrainSegVolNotVentSurf"            
[133] "lhCortexVol"                        "rhCortexVol"                       
[135] "CortexVol"                          "lhCorticalWhiteMatterVol"          
[137] "rhCorticalWhiteMatterVol"           "CorticalWhiteMatterVol"            
[139] "SubCortGrayVol"                     "TotalGrayVol"                      
[141] "SupraTentorialVol"                  "SupraTentorialVolNotVent"          
[143] "SupraTentorialVolNotVentVox"        "MaskVol"                           
[145] "BrainSegVol.to.eTIV"                "MaskVol.to.eTIV"                   
[147] "lhSurfaceHoles"                     "rhSurfaceHoles"                    
[149] "SurfaceHoles"                       "EstimatedTotalIntraCranialVol"     
  [1] "Left.Hippocampus.HS"                "left.presubiculum"                 
  [3] "left.CA2.3"                         "left.fimbria"                      
  [5] "left.subiculum"                     "left.CA4.DG"                       
  [7] "left.hippocampal.fissure"           "Right.Hippocampus.HS"              
  [9] "right.presubiculum"                 "right.CA1"                         
 [11] "right.CA2.3"                        "right.fimbria"                     
 [13] "right.subiculum"                    "right.CA4.DG"                      
 [15] "right.hippocampal.fissure"          "lh.bankssts.volume"                
 [17] "lh.caudalanteriorcingulate.volume"  "lh.caudalmiddlefrontal.volume"     
 [19] "lh.cuneus.volume"                   "lh.entorhinal.volume"              
 [21] "lh.fusiform.volume"                 "lh.inferiorparietal.volume"        
 [23] "lh.inferiortemporal.volume"         "lh.isthmuscingulate.volume"        
 [25] "lh.lateraloccipital.volume"         "lh.lateralorbitofrontal.volume"    
 [27] "lh.lingual.volume"                  "lh.medialorbitofrontal.volume"     
 [29] "lh.middletemporal.volume"           "lh.parahippocampal.volume"         
 [31] "lh.paracentral.volume"              "lh.parsopercularis.volume"         
 [33] "lh.parsorbitalis.volume"            "lh.parstriangularis.volume"        
 [35] "lh.pericalcarine.volume"            "lh.postcentral.volume"             
 [37] "lh.posteriorcingulate.volume"       "lh.precentral.volume"              
 [39] "lh.precuneus.volume"                "lh.rostralanteriorcingulate.volume"
 [41] "lh.rostralmiddlefrontal.volume"     "lh.superiorfrontal.volume"         
 [43] "lh.superiorparietal.volume"         "lh.superiortemporal.volume"        
 [45] "lh.supramarginal.volume"            "lh.frontalpole.volume"             
 [47] "lh.temporalpole.volume"             "lh.transversetemporal.volume"      
 [49] "lh.insula.volume"                   "rh.bankssts.volume"                
 [51] "rh.caudalanteriorcingulate.volume"  "rh.caudalmiddlefrontal.volume"     
 [53] "rh.cuneus.volume"                   "rh.entorhinal.volume"              
 [55] "rh.fusiform.volume"                 "rh.inferiorparietal.volume"        
 [57] "rh.inferiortemporal.volume"         "rh.isthmuscingulate.volume"        
 [59] "rh.lateraloccipital.volume"         "rh.lateralorbitofrontal.volume"    
 [61] "rh.lingual.volume"                  "rh.medialorbitofrontal.volume"     
 [63] "rh.middletemporal.volume"           "rh.parahippocampal.volume"         
 [65] "rh.paracentral.volume"              "rh.parsopercularis.volume"         
 [67] "rh.parsorbitalis.volume"            "rh.parstriangularis.volume"        
 [69] "rh.pericalcarine.volume"            "rh.postcentral.volume"             
 [71] "rh.posteriorcingulate.volume"       "rh.precentral.volume"              
 [73] "rh.precuneus.volume"                "rh.rostralanteriorcingulate.volume"
 [75] "rh.rostralmiddlefrontal.volume"     "rh.superiorfrontal.volume"         
 [77] "rh.superiorparietal.volume"         "rh.superiortemporal.volume"        
 [79] "rh.supramarginal.volume"            "rh.frontalpole.volume"             
 [81] "rh.temporalpole.volume"             "rh.transversetemporal.volume"      
 [83] "rh.insula.volume"                   "Left.Lateral.Ventricle"            
 [85] "Left.Inf.Lat.Vent"                  "Left.Cerebellum.White.Matter"      
 [87] "Left.Cerebellum.Cortex"             "Left.Thalamus.Proper"              
 [89] "Left.Caudate"                       "Left.Putamen"                      
 [91] "Left.Pallidum"                      "X3rd.Ventricle"                    
 [93] "X4th.Ventricle"                     "Brain.Stem"                        
 [95] "Left.Hippocampus"                   "Left.Amygdala"                     
 [97] "CSF"                                "Left.Accumbens.area"               
 [99] "Left.VentralDC"                     "Left.vessel"                       
[101] "Left.choroid.plexus"                "Right.Lateral.Ventricle"           
[103] "Right.Inf.Lat.Vent"                 "Right.Cerebellum.White.Matter"     
[105] "Right.Cerebellum.Cortex"            "Right.Thalamus.Proper"             
[107] "Right.Caudate"                      "Right.Putamen"                     
[109] "Right.Pallidum"                     "Right.Hippocampus"                 
[111] "Right.Amygdala"                     "Right.Accumbens.area"              
[113] "Right.VentralDC"                    "Right.vessel"                      
[115] "Right.choroid.plexus"               "X5th.Ventricle"                    
[117] "WM.hypointensities"                 "Left.WM.hypointensities"           
[119] "Right.WM.hypointensities"           "non.WM.hypointensities"            
[121] "Left.non.WM.hypointensities"        "Right.non.WM.hypointensities"      
[123] "Optic.Chiasm"                       "CC_Posterior"                      
[125] "CC_Mid_Posterior"                   "CC_Central"                        
[127] "CC_Mid_Anterior"                    "CC_Anterior"                       
[129] "BrainSegVol"                        "BrainSegVolNotVent"                
[131] "BrainSegVolNotVentSurf"             "lhCortexVol"                       
[133] "rhCortexVol"                        "CortexVol"                         
[135] "lhCorticalWhiteMatterVol"           "rhCorticalWhiteMatterVol"          
[137] "CorticalWhiteMatterVol"             "SubCortGrayVol"                    
[139] "TotalGrayVol"                       "SupraTentorialVol"                 
[141] "SupraTentorialVolNotVent"           "SupraTentorialVolNotVentVox"       
[143] "MaskVol"                            "BrainSegVol.to.eTIV"               
[145] "MaskVol.to.eTIV"                    "lhSurfaceHoles"                    
[147] "rhSurfaceHoles"                     "SurfaceHoles"                      

rsurfer documentation built on May 2, 2019, 4:20 a.m.