View source: R/readXDS_ASCII.R
readXDS_ASCIIHeader | R Documentation |
This function reads information from the header of an
XDS_ASCII.HKL data file and organises it into a named list
with a variable number of components, according to the type
of XDS_ASCII.HKL file (see details in
readXDS_ASCII
).
readXDS_ASCIIHeader(filename)
filename |
A character string. The path to a valid XDS ASCII file. |
A named list. Each name correspond to a valid field in
the xds header. If filename
is not a valid XDS
ascii file, the function returns 'NULL' and prints out
a warning message.
# 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_ASCIIHeader(filename) print(names(ltmp))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.