sleuth_interpret: Automate the running of sleuth_prep and sleuth_fit on all...

View source: R/sleuth_pre_processing.R

sleuth_interpretR Documentation

Automate the running of sleuth_prep and sleuth_fit on all provided metadata files and the associated models

Description

Automate the running of sleuth_prep and sleuth_fit on all provided metadata files and the associated models

Usage

sleuth_interpret(data, num_core = 1, ...)

Arguments

data

A data frame containing metadata file name, metadata tibble file, model names, and model formulae

num_core

An integer for the number of cores to be used for sleuth_prep

...

Can add in other parameters that will be passed to sleuth_prep

Value

Sleuth object named using the associated metadata file name and processed with sleuth_prep() and sleuth_fit()

Examples

# Given a sample data frame containing a metadata_file_name, metadata_file, model_name, and model_data (formulae),
# create a sleuth object that has been processed using sleuth_prep() followed by sleuth_fit()
sleuth_interpret(analysis_data, num_core = 3)

nodrogluap/gumshoe documentation built on Feb. 28, 2023, 6:15 p.m.