rotatePDB: Rotate a pdb structure

Description Usage Arguments Value

View source: R/PSB_functions.R

Description

This function takes a pdb structure read by bio3d::read.pdb function and rotates it.

Usage

1
rotatePDB(pdb, degree = c(0, 0, 0))

Arguments

pdb

pdb structure output from bio3d::read.pdb

degree

A vector of 3 numeric elements indicating the rotation degree along x, y, and z axis.

Value

A pdb structure with $Atom$x(y,z) values changed


ShaoxunLiu/proteinStructureBoost documentation built on Dec. 18, 2021, 1:05 p.m.