Converts a data.frame/matrix to a grob, with flexible aesthetics.
convert_to_matrix_grob(
.df,
aes_list = list(),
height = numeric(),
width = numeric()
)
A grob of .df
, with the corresponding aesthetics.
The data.frame/matrix to be converted to a grob.
The list outputted by ga_list
which gives the data.frame/matrix grob its aesthetics.
A numeric value designating the total height of the matrix grob in mm.
A numeric value designating the total width of the matrix grob in mm.