R/dev-heart.R

#' @title `heart` class
#' @description `heart` is an S4 class that serves as an object that holds together different components that represent the anatomical heart. A `heart` object allows for storing clinical information about a patient together, which may more readily allow for analytical approaches to be developed. The heart has plumbing (the coronary arteries), electricity (the nerves), and walls (cardiac chambers). The slots represent these objects.
#' @slot pipes the epicardial and resistance vessels
#' @slot electric the conduction system of nerves
#' @slot structural the cardiac chambers and valves
methods::setClass(
	"heart",
	slots = c(
		pipes = "list",
		electric = "list",
		structural = "list"
	),
)

Try the card package in your browser

Any scripts or data that you put into this service are public.

card documentation built on Sept. 3, 2020, 9:07 a.m.