read_xvg {xvm} | R Documentation |
read xvg files
Description
read one or more 'GROMACS'-generated xvg files
Usage
read_xvg(xvg_files, skip_comments = TRUE)
Arguments
xvg_files |
character vector of xvg file paths |
skip_comments |
logical indicating whether to skip comment lines (default: TRUE) |
Value
Named list containing xvg data, using filenames (without extension) as keys
Examples
library(xvm)
# Retrieve the path to the example file included in the package:
rmsd_file_path <- system.file("extdata/rmsd.xvg", package = "xvm")
rmsd_data <- read_xvg(rmsd_file_path) # read the xvg file using read_xvg() function
names(rmsd_data)
[Package xvm version 0.0.2 Index]