Skip to contents

Cuppa file parsing and manipulation.

Super class

tidywigits::Tool -> Cuppa

Methods

Inherited methods


Method new()

Create a new Cuppa object.

Usage

Cuppa$new(path = NULL, files_tbl = NULL)

Arguments

path

(character(1))
Output directory of tool. If files_tbl is supplied, this basically gets ignored.

files_tbl

(tibble(n))
Tibble of files from list_files_dir.


Method parse_datacsv()

Read cup.data.csv file.

Usage

Cuppa$parse_datacsv(x)

Arguments

x

(character(1))
Path to file.


Method tidy_datacsv()

Tidy cup.data.csv file.

Usage

Cuppa$tidy_datacsv(x)

Arguments

x

(character(1))
Path to file.


Method parse_feat()

Read cuppa_data.tsv.gz file.

Usage

Cuppa$parse_feat(x)

Arguments

x

(character(1))
Path to file.


Method tidy_feat()

Tidy cuppa_data.tsv.gz file.

Usage

Cuppa$tidy_feat(x)

Arguments

x

(character(1))
Path to file.


Method parse_predsum()

Read cuppa.pred_summ.tsv file.

Usage

Cuppa$parse_predsum(x)

Arguments

x

(character(1))
Path to file.


Method tidy_predsum()

Tidy cuppa.pred_summ.tsv file.

Usage

Cuppa$tidy_predsum(x)

Arguments

x

(character(1))
Path to file.


Method parse_datatsv()

Read cuppa.vis_data.tsv file.

Usage

Cuppa$parse_datatsv(x)

Arguments

x

(character(1))
Path to file.


Method tidy_datatsv()

Tidy cuppa.vis_data.tsv file.

Usage

Cuppa$tidy_datatsv(x)

Arguments

x

(character(1))
Path to file.


Method clone()

The objects of this class are cloneable with this method.

Usage

Cuppa$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (FALSE) { # \dontrun{
path <- here::here(
  "nogit"
)
cup <- Cuppa$new(path)
} # }