Learn R Programming

writeAlizer (version 1.7.3)

import_merge_gamet_rb: Import a ReaderBench output file (.csv) and GAMET output file (.csv), and merge the two files on ID.

Description

Import a ReaderBench output file (.csv) and GAMET output file (.csv), and merge the two files on ID.

Usage

import_merge_gamet_rb(rb_path, gamet_path)

Value

A base data.frame created by joining the ReaderBench and GAMET tables by ID, with one row per matched ID and the following columns:

  • ID (character): identifier present in both sources.

  • All retained ReaderBench feature columns (numeric).

  • All retained GAMET error/category columns (numeric).

By default, only IDs present in both inputs are kept (inner join). If a feature name appears in both sources, standard merge suffixes (e.g., .x/.y) may be applied by the join implementation. The object has class data.frame (or tibble if converted by the user).

Arguments

rb_path

A string giving the path and ReaderBench filename to import.

gamet_path

A string giving the path and GAMET filename to import.

See Also

predict_quality

Examples

Run this code
# Example with package sample data
rb_path   <- system.file("extdata", "sample_rb.csv", package = "writeAlizer")
gam_path  <- system.file("extdata", "sample_gamet.csv", package = "writeAlizer")
rb_gam    <- import_merge_gamet_rb(rb_path, gam_path)
head(rb_gam)

Run the code above in your browser using DataLab