readsm_REFL | R Documentation |
Reads and output an CIF file
readsm_REFL(filename, message = FALSE)
filename |
A character string. The path to a valid small molecule reflection file. Typically a hkl or an fcf file. |
message |
A logical variable. If TRUE (default) the function prints a message highlighting what is included in the cif file. |
A named list. Each name correspond to a valid field in the fcf or hkl file.
datadir <- system.file("extdata",package="cry")
filename <- file.path(datadir,"1dei-sf.cif")
lCIF <- readsm_REFL(filename)
print(names(lCIF))
print(lCIF$INTRO$CELL)
print(lCIF$SYMM)
print(lCIF$REFL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.