Learn R Programming

SOMMD (version 0.1.2)

struct2pdb: Convert structure to pdb object

Description

Convert a struct object into a pdb obtect

Usage

struct2pdb(struct)

Value

Returns an object with class "pdb"

An object of class "pdb"

Arguments

struct

contains the struct object to convert

Author

Stefano Motta stefano.motta@unimib.it

Examples

Run this code
# Read structure file 
struct <- read.struct(system.file("extdata", "HIF2a.gro", package = "SOMMD"))
#Convert structure to pdb object
pdb <- struct2pdb(struct)

Run the code above in your browser using DataLab