
Read GraphPad Prism.pzfx files into R. It tries tounderstand different.pzfx table formats, e.g. replicatesas subcolumns, or mean-sd-n as subcolumns etc and adds proper suffix tocolumn names of the parsed output.
# Install from CRANinstall.packages("pzfx")# Install development version from GitHubdevtools::install_github("Yue-Jiang/pzfx")To list tables in a.pzfx file
library(pzfx)pzfx_tables("/path/to/my/pzfx/file")To read a specific table from a.pzfx file
df <- read_pzfx("/path/to/my/pzfx/file", 1) # read first tabledf <- read_pzfx("/path/to/my/pzfx/file", "Table Name") # read table by nameTo write a data frame or matrix to a.pzfx file
write_pzfx(df, "/path/to/my/pzfx/file")To write a list of data frames or matrices to a.pzfxfile
write_pzfx(list("Table Name 1" = df1, "Table Name 2" = df2), "/path/to/my/pzfx/file")