View source: R/read_functions.R
read_xvg | R Documentation |
read one or more 'GROMACS'-generated xvg files
read_xvg(xvg_files, skip_comments = TRUE)
xvg_files |
character vector of xvg file paths |
skip_comments |
logical indicating whether to skip comment lines (default: TRUE) |
Named list containing xvg data, using filenames (without extension) as keys
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.