View source: R/readXDS_ASCII.R
readXDS_ASCII | R Documentation |
Function to load XDS_ASCII.HKL files into a named list with three components called processing_info, header and reflections (see details further down).
readXDS_ASCII(filename, message = FALSE)
filename |
A character string. The path to a valid XDS ASCII file. |
message |
A logical variable. If TRUE (default) the
function prints a message highlighting what is
included in the xds header. If |
This function reads in all data from an XDS_ASCII data file and organises them into a named list. The list's name are:
This list component includes three logical variables, MERGE, FRIEDEL and PROFILE. Their TRUE/FALSE value reflect features of the XDS_ASCII file connected with the specific processing performed to obtain the file itself (for more details see https://xds.mr.mpg.de/).
This list includes several components, like for instance SPACE_GROUP_NUMBER or UNIT_CELL_CONSTANTS, which give informations on the crystal and the experiment generating the data.
This data.frame includes the actual experimental data, i.e. the observations collected during the X-ray diffraction experiment on the crystal (or crystals). The number and type of columns can vary.
A named list (see details).
# Load one of the XDS ASCII files included with # this distribution of cry datadir <- system.file("extdata",package="cry") filename <- file.path(datadir,"xds00_ascii.hkl") ltmp <- readXDS_ASCII(filename,message=FALSE) print(names(ltmp)) print(ltmp$reflections[1:5,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.