
Read raw KASP results file (csv format) with one or multiple plates.
Source:R/kasp_validation.R
read_kasp_csv.Rd
Read raw KASP results file (csv format) with one or multiple plates.
Arguments
- file
A character value indicating the file name or path for the KASP results file (csv format).
A character vector for the ordered row tags for the components of the data in
file
.- spacing
An integer value for specifying the number of empty rows between data components in
file
.- data_type
A character value indicating the file type to import; currently supports either `raw` or `polished` KASP results file.
Examples
# example code
library(panGenomeBreedr)
# Read raw bulked KASP data into R
# \donttest{
path1 <- system.file("extdata", "Genotyping_141.010_01.csv",
package = "panGenomeBreedr",
mustWork = TRUE)
file1 <- read_kasp_csv(file = path1, data_type = 'raw')
# Get KASP genotyping data for plotting
kasp_dat <- file1$Data
# }