load_result: Load Result

Description Usage Arguments Value Examples

View source: R/load_result.R

Description

load_result loads the file at specified full path to the the "results" subdirectory of the desired data path.

Usage

1
2
3
4
5
load_result(
  path,
  result_filename,
  columns = readr::cols(.default = readr::col_character())
)

Arguments

path

The path string to the parent directory in which the validation file exists. This should be the same parent directory for "clean" block data.

result_filename

The filename of the result desired. Defaults to a TSV, and no TSV extension is required, but is accepted. Other file extensions are not accepted.

columns

Types of columns desired when loading a result dataset. Defaults to all character types. Override default with a readr-style cols definition.

Value

result A dataframe consisting of the result file's contents.

Examples

1

sokolhessnerlab/shlab.imgct documentation built on Oct. 4, 2020, 7:31 a.m.