Skip to contents

S3 classes and methods

contactmatrix class

as_contactmatrix()
Convert an object to a contactmatrix object.
assert_contactmatrix()
Assert whether a object is a valid contactmatrix object
is_contactmatrix()
Test whether a object is a valid contactmatrix object
new_contactmatrix()
Constructor for a contactmatrix object
test_contactmatrix()
Test whether a object is a valid contactmatrix_list object
print(<contactmatrix>)
Print a contactmatrix_list

contactmatrix_list class

assert_contactmatrix_list()
Assert whether a object is a valid contactmatrix_list object
is_contactmatrix_list()
Test whether a object is a contactmatrix_list object
new_contactmatrix_list()
Constructor for a contactmatrix_list object
test_contactmatrix_list()
Test whether a object is a valid contactmatrix_list object
aggregate(<contactmatrix_list>)
Aggregate the elements of a contactmatrix_list
print(<contactmatrix_list>)
Print a contactmatrix_list

Helpers

cm_get_groupings()
Get groupings of a contactmatrix or contactmatrix_list object
cm_make_symmetric()
Make a contactmatrix object symmetric