Fieldscorer: A package to convert Agrobase output files into Fieldscorer...

View source: R/Fieldscorer.R

FieldscorerR Documentation

A package to convert Agrobase output files into Fieldscorer input files

Description

Fieldscorer takes an output file from Agrobase and converts it into a fieldscorer format.

Usage

Fieldscorer(x, Experiment, Trialtype, Barcode, Genotype, Pedigree = NULL)

Arguments

x

A data.frame.

Experiment

A character string indexing column that contains trial names.

Trialtype

A character string to represent trial series. For example "21WS2E".

Genotype

A character string indexing the column that contains genotype names.

Pedigree

A cvharacter string indexing the column that contains pedigree information. Default is NULL as we may want Fieldscorer files without this information for third party use.

plotbarcode

A character string indexing column that contains plot barcodes.

Value

File format suitable for upload into the Fieldscorer app.

Author(s)

Calum Watt, cwatt@intergrain.com

Examples

data <- read_xls("agrobasepractice.xls")

Fieldscorer(data, 
      Experiment = "trial.name",
      Trialtype = "21WS2E", 
      Barcode = "plot.barcode", 
      Genotype = "name",
      Pedigree = "pedigree")

CalumWatt/NVTconvert documentation built on Sept. 3, 2022, 11:38 p.m.