blind.input: Input File Blinding

View source: R/SMB_Analysis.R

blind.inputR Documentation

Input File Blinding

Description

A function to randomize input tiff files for subsequent blinded analyses.

Usage

blind.input(path.to.files='./')

Arguments

path.to.files

Path to the directory where the tiff file(s) to be imported and blinded are located. Write-out files will also be exported to this directory. DEFAULT = (working directory).

Value

Files:

*.tif

Outputs a tiff file for each original tiff file, using an alphabetical index system.

file_key.txt

A text file matching the blinded alphabetically indexed tiff files to the original tiff files.

file_visibles.txt

A text file giving all non-blinded information for each original tiff file.

Note

Input tiff files should be named [visibles]_[invisibles].tif, where [visibles] is information necessary for analysis to be provided for each blinded file and [invisibles] is the additional information to be hidden during the file blinding; the [visibles] and [invisibles] strings should not contain the '_' character.


whemphil/SMBalyze documentation built on April 16, 2023, 6:26 p.m.