Skip to content

Instantly share code, notes, and snippets.

@gaiusjaugustus
Created May 25, 2016 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaiusjaugustus/2a49a084e257c887236600b182ccd967 to your computer and use it in GitHub Desktop.
Save gaiusjaugustus/2a49a084e257c887236600b182ccd967 to your computer and use it in GitHub Desktop.
Data for clustering label question on Stack Overflow
structure(list(chromosome = c(19L, 12L, 5L, 3L, 12L, 16L, 13L,
19L, 3L, 13L, 3L, 20L, 7L, 22L, 7L, 13L, 22L, 8L, 18L, 17L, 5L,
7L, 12L, 22L, 3L, 3L, 3L, 8L, 2L, 14L), tcnId = c(1L, 5L, 4L,
10L, 1L, 1L, 7L, 1L, 19L, 4L, 11L, 1L, 8L, 1L, 4L, 9L, 1L, 2L,
1L, 15L, 7L, 10L, 3L, 1L, 7L, 16L, 17L, 4L, 1L, 2L), dhId = c(1L,
1L, 1L, 1L, 1L, 3L, 1L, 3L, 1L, 1L, 3L, 1L, 1L, 4L, 1L, 1L, 1L,
1L, 1L, 1L, 1L, 1L, 1L, 3L, 1L, 1L, 1L, 1L, 1L, 1L), tcnStart = c(90911,
23976225, 142298217.5, 46849231, 150443, 7050355.5, 94835569,
22613582.5, 197838508.5, 32124142.5, 66147533, 61306, 7770125.5,
35989643.5, 3453496, 110811550.5, 16052529, 135722, 11543, 21125890.5,
167110464, 61854567, 11199257.5, 29132724, 16299209, 196767970,
197054586.5, 8079724, 12785, 81088885), tcnEnd = c(3521904, 133778190,
148162625, 58678592, 9888284.5, 90287536, 95026613.5, 24038103,
197896119, 53400391.5, 71664555.5, 1561290.5, 21901793, 51234456,
3581374, 115108398, 28375948.5, 6988698, 12930198, 25271048,
180790321, 159127005, 14111111, 35989643.5, 36860593, 197054586.5,
197422667.5, 43805426, 137852822.5, 81270636.5), tcnNbrOfLoci = c(1009L,
70974L, 4006L, 6546L, 6584L, 49641L, 159L, 858L, 23L, 14623L,
4017L, 1243L, 11766L, 10429L, 116L, 2654L, 8448L, 8165L, 9522L,
444L, 9320L, 59094L, 2423L, 5132L, 14280L, 154L, 194L, 26240L,
87450L, 104L), tcnMean = c(1.4134600380664, 2.0346, 2.1142, 2.0269,
1.9776, 2.01879414521266, 2.5049, 1.50793578941322, 1.859, 2.629,
2.107513686666, 1.9538, 2.7355, 1.42030636680843, 2.6237, 2.4419,
1.44263400297059, 1.4686, 1.46796971362529, 2.4232, 1.9991, 2.1007,
1.6431, 1.44436918095108, 2.1116, 2.257, 1.958, 1.4679, 2.065,
0.7801), tcnNbrOfSNPs = c(176L, 10137L, 607L, 924L, 1140L, 7642L,
23L, 97L, 0L, 2239L, 661L, 239L, 1768L, 1536L, 17L, 478L, 1244L,
1597L, 1681L, 32L, 1618L, 8332L, 378L, 764L, 2226L, 19L, 29L,
4314L, 13591L, 12L), tcnNbrOfHets = c(176L, 10137L, 607L, 924L,
1140L, 7642L, 23L, 97L, 0L, 2239L, 661L, 239L, 1768L, 1536L,
17L, 478L, 1244L, 1597L, 1681L, 32L, 1618L, 8332L, 378L, 764L,
2226L, 19L, 29L, 4314L, 13591L, 12L), dhStart = c(90911, 23976225,
142298217.5, 46849231, 150443, 7050355.5, 94835569, 22613582.5,
197838508.5, 32124142.5, 66147533, 61306, 7770125.5, 35989643.5,
3453496, 110811550.5, 16052529, 135722, 11543, 21125890.5, 167110464,
61854567, 11199257.5, 29132724, 16299209, 196767970, 197054586.5,
8079724, 12785, 81088885), dhEnd = c(3521904, 133778190, 148162625,
58678592, 9888284.5, 90287536, 95026613.5, 24038103, 197896119,
53400391.5, 71664555.5, 1561290.5, 21901793, 51234456, 3581374,
115108398, 28375948.5, 6988698, 12930198, 25271048, 180790321,
159127005, 14111111, 35989643.5, 36860593, 197054586.5, 197422667.5,
43805426, 137852822.5, 81270636.5), dhNbrOfLoci = c(176L, 10137L,
607L, 924L, 1140L, 7642L, 23L, 97L, 0L, 2239L, 661L, 239L, 1768L,
1536L, 17L, 478L, 1244L, 1597L, 1681L, 32L, 1618L, 8332L, 378L,
764L, 2226L, 19L, 29L, 4314L, 13591L, 12L), dhMean = c(0.3363,
0.0685, 0.0679, 0.5231, 0.0646, 0.0637, 0.1952, 0.374, NA, 0.1888,
0.0656, 0.5186, 0.1992, 0.3558, 0.1856, 0.1704, 0.3829, 0.4157,
0.4109, 0.1721, 0.061, 0.0665, 0.2185, 0.4105, 0.5446, 0.0816,
0.0489, 0.4138, 0.0651, 0.1141), c1Mean = c(0.469056713632334,
0.94761495, 0.98532291, 0.483314305, 0.92492352, 0.945098479081305,
1.00797176, 0.471983902086339, NA, 1.0663224, 0.984630394410357,
0.47027966, 1.0952942, 0.457480680748996, 1.06837064, 1.01290012,
0.445124721616574, 0.42905149, 0.432390479148328, 1.00308364,
0.93857745, 0.980501725, 0.642041325, 0.425727816085332, 0.48081132,
1.0364144, 0.9311269, 0.43024149, 0.96528425, 0.345545295), c2Mean = c(0.944403324434064,
1.08698505, 1.12887709, 1.543585695, 1.05267648, 1.07369566613135,
1.49692824, 1.03595188732688, NA, 1.5626776, 1.12288329225565,
1.48352034, 1.6402058, 0.962825686059435, 1.55532936, 1.42899988,
0.997509281354012, 1.03954851, 1.03557923447696, 1.42011636,
1.06052255, 1.120198275, 1.001058675, 1.01864136486575, 1.63078868,
1.2205856, 1.0268731, 1.03765851, 1.09971575, 0.434554705), ascn_diff = c(0.47534661080173,
0.1393701, 0.14355418, 1.06027139, 0.12775296, 0.128597187050045,
0.48895648, 0.563967985240541, NA, 0.4963552, 0.138252897845293,
1.01324068, 0.5449116, 0.505345005310439, 0.48695872, 0.41609976,
0.552384559737438, 0.61049702, 0.603188755328632, 0.41703272,
0.1219451, 0.13969655, 0.35901735, 0.592913548780418, 1.14997736,
0.1841712, 0.0957462, 0.60741702, 0.1344315, 0.08900941), tcnMean_cluster = structure(c(2L,
1L, 1L, 1L, 1L, 1L, 3L, 2L, 1L, 3L, 1L, 1L, 3L, 2L, 3L, 3L, 2L,
2L, 2L, 3L, 1L, 1L, 2L, 2L, 1L, 1L, 1L, 2L, 1L, 2L), .Label = c("1",
"2", "3", "4"), class = "factor")), .Names = c("chromosome",
"tcnId", "dhId", "tcnStart", "tcnEnd", "tcnNbrOfLoci", "tcnMean",
"tcnNbrOfSNPs", "tcnNbrOfHets", "dhStart", "dhEnd", "dhNbrOfLoci",
"dhMean", "c1Mean", "c2Mean", "ascn_diff", "tcnMean_cluster"), class = c("tbl_df",
"data.frame"), row.names = c(NA, -30L))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment