Skip to contents

This function takes an input object and a chain number, then assigns names to the elements of the object. #' The names are created by prefixing 'Chain' to the chain number for each element.

Usage

SetChainName(Obj, Chain)

Arguments

Obj

An object to which the chain names will be assigned.

Chain

An integer or vector of integers representing the chain number(s).

Value

Returns the input object with elements named according to the specified chain number(s). The function modifies the names attribute of the object.

Author

Ahmed El-Gabbas