Skip to contents

Chord file parsing and manipulation.

Super class

tidywigits::Tool -> Chord

Methods

Inherited methods


Method new()

Create a new Chord object.

Usage

Chord$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_prediction()

Read prediction.txt file.

Usage

Chord$parse_prediction(x)

Arguments

x

(character(1))
Path to file.


Method tidy_prediction()

Tidy prediction.txt file.

Usage

Chord$tidy_prediction(x)

Arguments

x

(character(1))
Path to file.


Method parse_signatures()

Read signatures.txt file.

Usage

Chord$parse_signatures(x)

Arguments

x

(character(1))
Path to file.


Method tidy_signatures()

Tidy signatures.txt file.

Usage

Chord$tidy_signatures(x)

Arguments

x

(character(1))
Path to file.


Method clone()

The objects of this class are cloneable with this method.

Usage

Chord$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

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