CheckSet_DirecVars: Check Directory Structure, and Set Directory-derived Variable...

Description Usage Arguments Value Examples

View source: R/CheckSet_DirecVars.R

Description

Check Directory Structure, and Set Directory-derived Variable Names

Usage

1

Arguments

path

A Directory path within which holds the text files outputted from SizeExtractR imageJ tools and protocol. The directory path should be given in double quotes in the same format as that returned by the function getwd()

Value

Returns a vector of Variable Names that will be used later in database formation within SizeExtractR.

It also provides a user interface to check the Directory structure is suitable for other SizeExtractR functions. If the Directory structure is incorrect this function prompts the user about how to fix the directory structure.

Examples

1
2
3
4
5
6
# Set the path within which all text files (from image analysis) are found
mypath = paste0(.libPaths()[1],"/SizeExtractR/TextFiles")

# Run the function
varnames = CheckSet_DirecVars(mypath)
if(length(varnames) > 0){print(varnames)}

liamlachs/SizeExtractR documentation built on Feb. 13, 2022, 9:46 p.m.