# The input data is from Supp Table 3
# Calculate weighted percentages for 6052
islet.n <- c(32, 41, 58, 45)
InsPos <- c(0, 4, 2, 3)
InsPos.prct <- InsPos/islet.n * 100
InsPos.prct <- round(weighted.mean(InsPos.prct, islet.n), 1)
InsNeg.prct <- 100 - InsPos.prct
# Percentage for 6070, which is more uncertain given that only one sample was examined
InsPos.prct.6070 <- 2/21 * 100
InsNeg.prct.6070 <- 19/21 * 100
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.