Prepare annotation parameters and positions
prepare_annotation(
annot_df,
annot_defaults,
annot_params,
annot_side,
context = c("rows", "cols"),
annot_names_size,
annot_name_params,
annot_names_side,
data_size
)
List with updated annotation parameters, calculated annotation positions, and updated annotation label parameters.
Annotation data frame. Should contain the rownames or a column called '.names' with names, other columns are used for annotation
Default parameters for annotation.
Provided annotation parameters to update.
String for annotation side.
String stating the context ("rows" or "cols").
Size of annotation names.
Annotation label (names next to annotations) parameters to update.
Annotation label side.
Size of data (ncol if row annotations, nrow if column annotations).