bioFabric r

# Install and load the bioFabric package
install.packages("bioFabric")
library(bioFabric)

# Create a sample matrix for demonstration
matrix_data <- matrix(rpois(100, lambda = 5), nrow = 10, ncol = 10)

# Generate a bioFabric plot
bf <- bioFabric(matrix_data)

# Customize the bioFabric plot (optional)
bf + scale_color_gradient(low = "white", high = "blue") + theme_bioFabric()

# Display the bioFabric plot
print(bf)