Skip to content

Instantly share code, notes, and snippets.

@mmparker
Created May 12, 2011 22:55
Show Gist options
  • Save mmparker/969641 to your computer and use it in GitHub Desktop.
Save mmparker/969641 to your computer and use it in GitHub Desktop.
Sample test data
tests <- structure(list(nil = c(0.06, 0, 0.07, 0.2, 0.07, 0.15, 0.18,
0.05, 0.07, 0.06, 0.11, 9.41, 0.17, 0.09, 0.15, 0.06, 0.07, 0.1,
0.12, 0.17, 0.11, 0.13, 0.12, 0.12, 0.12, 0.13, 0.24, 0.14, 0.09,
0.17, 0.11, 0.07, 0.15, 10, 3.53, 5.48, 0.06, 0.06, 0.08, 0.1,
0.07, 0.1, 0.1, 0.08, 0.05, 0.08, 0.1, 0.07, 0.76, 0.04, 0.06,
0.07, 0.06, 0.08, 0.07, 0.09, 0.13, 0.05, 0.25, 0.12, 0.08, 0.78,
0.12, 0.11, 0.13, 0.1, 0.1, 0.05, 0.11, 0.13, 0.32, 0.09, 0.2,
0.16, 0.24, 0.29, 0.06, 0.17, 0.22, 0.1, 0.16, 0.08, 9, 0.1,
0.08, 0.15, 0.23, 0.07, 9, 0.13, 0.07, 0.06, 0.04, 0.04, 0.03,
10, 0.04, 0.05, 0.05, 0.04, 0.05, 0.04, 9, 0.06, 0.06, 0.05,
3.34, 0.1, 0.09, 0.15, 0.09, 10, 0.09, 0.15, 0.13, 0.07, 0.1,
0.12, 0.09, 0.09, 0.12, 0.1, 0.11, 0.12, 0.16, 0.07, 0.07, 0.07,
0.37, 0.11, 0.14, 0.66, 0.05, 0.1, 0.08, 0.05, 0.04, 0.08, 0.26,
0.06, 0.33, 0.06, 1.93, 0.12, 0.09, 0.21, 0.12, 0.08, 0.07, 5.37,
3.77, 0.64, 0.1, 0.09, 0.11, 0.17, 0.09, 0.07, 0.13, 0.11, 0.14,
0.12, 0.13, 0.38, 0.27, 0.2, 1.68, 0.08, 0.16, 0.58, 0.09, 0.06,
0.11, 0.14, 0.06, 0.16, 0.13, 0.1, 1.32, 0.14, 0.64, 0.06, 0.77,
0.1, 0.34, 0.18, 0.17, 1.03, 0.1, 0.08, 0.3, 0.29, 0.1, 4.7,
1.41, 0.12, 6.64, 0.39, 0.2, 0.23, 0.05, 0.26, 0.24, 0.22, 0.12,
0.14, 0.12, 0.08, 0.12, 0.17, 1.54, 0.12, 6.36, 0.19, 0.3, 1.1,
0.19, 0.07, 1.64, 0.08, 0.19, 0.25, 0.08, 0.12, 0.72, 0.25, 1.39,
0.07, 0.15, 0.28, 0.04, 0.11, 0.05, 0.12, 0.73, 4.78, 0.33, 1.04,
0.06, 0.45, 0.98, 0.08, 0.23, 0.49, 0.24, 0.06, 0.77, 0.91, 0.16,
0.81, 0.08, 0.13, 0.39, 0.07, 0.08, 0.11, 0.16, 0.1, 0.09, 0.11,
0.11, 0.05, 0.44, 0.13, 0.35, 0.1, 0.23, 0.07, 0.13, 0.18, 0.11,
0.07, 0.05, 0.18, 0.08, 0.14, 0.12, 0.08, 0.1, 0.11, 0.11, 0.08,
0.11, 0.26, 0.13, 0.19, 0.07, 0.11, 0.11, 0.08, 0.15, 0.13, 0.06,
0.22, 0.53, 0.57, 0.11, 0.1, 0.27, 0.09, 0.09, 0.1, 0.05, 0.2,
0.09, 0.16, 0.19, 0.09, 0.11, 0.07, 0.07, 0.09, 0.08, 0.1, 0.42,
0.07, 0.08, 0.07, 0.12, 0.11, 0.13, 0.06, 0.15, 0.09, 0.11, 0.09,
0.13, 0.1, 0.06, 0.13, 0.09, 0.05, 0.33, 0.13, 0.22, 0.11, 1.39,
0.06, 0.08, 0.07, 0.25, 0.32, 0.22, 0.07, 0.06, 0.14, 0.08, 0.12,
1.13, 0.14, 0.22, 0.5, 0.2, 0.09, 0.06, 0.05, 0.04, 0.38, 0.06,
0.21, 0.05, 0.08, 0.09, 0.04, 0.19, 0.17, 0.11, 0.04, 0.1, 0.14,
0.87, 0.06, 0.16, 0.25, 0.08), tb = c(0.08, 0.06, 0.06, 0.17,
0.12, 0.14, 0.08, 0.05, 0.16, 0.05, 0.05, 6.73, 0.26, 0.07, 0.1,
0.08, 0.08, 0.12, 0.12, 0.12, 0.15, 0.14, 0.14, 0.14, 0.12, 0.31,
0.14, 0.14, 0.1, 0.19, 0.1, 0.13, 0.17, 5.7, 1.55, 3.71, 0.07,
0.07, 0.08, 0.11, 0.1, 0.16, 0.1, 0.09, 0.05, 0.08, 0.09, 0.37,
0.77, 0.07, 0.05, 0.06, 0.06, 0.08, 0.08, 0.07, 0.14, 0.22, 0.11,
0.19, 0.07, 0.51, 0.14, 0.11, 0.14, 0.13, 0.14, 0.05, 0.11, 0.15,
0.3, 0.11, 0.2, 0.13, 0.29, 0.27, 0.06, 0.17, 0.23, 0.09, 0.15,
0.06, 9, 0.12, 0.1, 0.14, 0.25, 0.06, 9, 0.19, 0.07, 0.11, 0.04,
0.05, 0.03, 9.77, 0.04, 0.05, 0.04, 0.05, 0.04, 0.33, 9, 0.06,
0.08, 0.06, 2.78, 0.09, 0.09, 0.23, 0.09, 10, 0.1, 0.2, 0.14,
0.08, 0.09, 0.19, 0.11, 0.11, 0.09, 0.1, 0.14, 0.12, 0.21, 2.97,
0.78, 0.72, 0.8, 1.24, 8.49, 1.64, 0.5, 0.98, 0.7, 3.03, 1.35,
10, 0.8, 0.55, 0.72, 0.92, 3.61, 0.73, 10, 0.9, 0.49, 0.86, 0.72,
9.04, 10, 1.41, 0.49, 1.05, 5.11, 0.72, 0.63, 10, 0.51, 1.39,
10, 0.62, 10, 1.07, 0.74, 0.6, 2.27, 10, 0.54, 10, 5.24, 0.46,
0.55, 0.53, 0.91, 0.94, 10, 10, 1.83, 1.56, 1.9, 0.41, 1.37,
5.03, 1.32, 1.4, 0.57, 3.17, 0.48, 1.97, 0.76, 1.41, 0.59, 9.12,
3.09, 3.43, 10, 0.74, 0.8, 0.62, 1.62, 6.91, 3.69, 10, 0.51,
0.9, 0.73, 4.54, 10, 3.29, 3, 1.11, 10, 0.54, 6.53, 2.82, 10,
10, 9.31, 1.45, 1.16, 1.55, 1.71, 10, 1.18, 10, 7.73, 2.19, 0.5,
5.15, 10, 5.49, 0.5, 0.66, 2.33, 7.46, 0.97, 1.42, 0.41, 3.41,
1.69, 0.65, 2.38, 1.71, 0.63, 5.2, 4.3, 3.08, 3.94, 1.26, 0.1,
0.12, 0.43, 0.08, 0.14, 0.1, 0.25, 0.09, 0.11, 0.09, 0.1, 0.06,
0.46, 0.12, 0.27, 0.2, 0.29, 0.21, 0.07, 0.2, 0.09, 0.08, 0.06,
0.17, 0.1, 0.12, 0.12, 0.07, 0.07, 0.13, 0.38, 0.24, 0.1, 0.36,
0.13, 0.11, 0.1, 0.1, 0.07, 0.11, 0.35, 0.07, 0.29, 0.26, 0.38,
0.91, 0.1, 0.2, 0.35, 0.1, 0.12, 0.09, 0.05, 0.12, 0.09, 0.16,
0.19, 0.06, 0.15, 0.08, 0.08, 0.07, 0.25, 0.12, 0.11, 0.06, 0.24,
0.07, 0.18, 0.42, 0.16, 0.09, 0.12, 0.11, 0.11, 0.1, 0.16, 0.15,
0.14, 0.1, 0.09, 0.06, 0.53, 0.18, 0.31, 0.13, 0.95, 0.07, 0.07,
0.05, 0.22, 0.29, 0.23, 0.08, 0.08, 0.19, 0.15, 0.13, 1.46, 0.13,
0.22, 0.59, 0.29, 0.09, 0.07, 0.05, 0.05, 0.37, 0.08, 0.48, 0.06,
0.08, 0.16, 0.05, 0.16, 0.11, 0.19, 0.04, 0.13, 0.41, 0.22, 0.1,
0.16, 0.2, 0.26), mitogen = c(0.53, 0.24, 0.26, 0.31, 0.34, 0.18,
0.07, 0.06, 0.43, 0.32, 0.08, 10, 0.35, 0.47, 0.22, 0.09, 0.15,
0.15, 0.24, 0.23, 0.45, 0.5, 0.46, 0.2, 0.16, 0.35, 0.31, 0.31,
0.19, 0.41, 0.19, 0.28, 0.39, 6.35, 3.28, 1.66, 0.25, 0.24, 0.1,
0.27, 0.2, 0.21, 0.33, 0.12, 0.4, 0.27, 0.16, 0.46, 0.94, 0.26,
0.29, 0.34, 0.25, 0.12, 0.09, 0.34, 0.24, 0.31, 0.36, 0.48, 0.24,
0.94, 0.46, 0.38, 0.37, 0.25, 0.4, 0.44, 0.18, 0.3, 0.8, 0.2,
0.36, 0.26, 0.69, 0.4, 0.16, 0.51, 0.52, 0.44, 0.54, 0.48, 9,
0.37, 0.38, 0.33, 0.62, 0.32, 9, 0.45, 0.26, 0.55, 0.06, 0.23,
0.34, 10, 0.1, 0.07, 0.07, 0.07, 0.35, 0.42, 9, 0.3, 0.25, 0.37,
3.73, 0.46, 0.46, 0.23, 0.29, 10, 0.38, 0.3, 0.23, 0.17, 0.53,
0.54, 0.19, 0.14, 0.23, 0.36, 0.3, 0.19, 0.56, 10, 9.71, 10,
7.68, 10, 10, 10, 10, 10, 0.1, 10, 10, 10, 10, 10, 10, 10, 10,
8.51, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 7.14, 10, 7.3, 10, 10, 8.58, 10, 10, 10, 0.19, 10, 0.16,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
0.16, 10, 10, 10, 2.93, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
10, 10, 5.93, 10, 8.25, 10, 9.01, 10, 9.11, 7.08, 8.57, 8.86,
9.75, 10, 10, 10, 10, 9.06, 10, 10, 6.01, 10, 10, 10, 10, 1.79,
10, 10, 10, 6.4, 10, 6.34, 10, 10, 10, 10, 10, 10, 8.04, 10,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 0.61, 10, 10, 10,
10, 9.39, 10, 9.11, 10, 10, 3.99, 0.83, 7.88, 10, 2.92, 6.34,
10, 2.88, 10, 10, 10, 10, 10, 4.47, 10, 10, 10, 10, 10, 10, 10,
8.77, 10, 10, 10, 10, 6.01, 10, 10, 6.01, 10, 5.9, 3.13, 10,
3.33, 10, 10, 10, 8.86, 10, 10, 2.21, 5.92, 10, 9.39, 10, 10,
7.95, 5.77, 10, 10, 8.66, 10, 10, 10, 10, 10, 10, 4.34, 4.57,
10, 10, 9.63, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
8.8, 10, 10, 3.23, 6.97, 10, 10, 10, 10, 10, 10, 10, 10, 4.53,
10, 9.5, 5.85, 10, 10, 10, 10, 10, 9.02, 10, 1.15, 10, 10, 6.78,
8.17, 10, 10, 3.87, 10, 3.62, 10, 10), interp = c("Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Indeterminate", "Indeterminate", "Indeterminate", "Indeterminate",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Positive",
"Positive", "Positive", "Positive", "Positive", "Positive", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative", "Negative", "Negative",
"Negative", "Negative", "Negative", "Negative")), .Names = c("nil",
"tb", "mitogen", "interp"), row.names = c(NA, -375L), class = "data.frame")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment