read_protein_state_mapping <- function(df) {
pairs_df <- unique(df[, c("Protein", "State")])
res <- list()
for (protein in pairs_df[["Protein"]]) {
res[[protein]] <- pairs_df[pairs_df[["Protein"]] == protein, ][["State"]]
}
res
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.