ramhiser / datamicroarray

A collection of small-sample, high-dimensional microarray data sets to assess machine-learning algorithms and models.
104 stars 42 forks source link

Chin data set not exported as numeric matrix #18

Closed ramhiser closed 8 years ago

ramhiser commented 8 years ago

The matrix is exported as a character matrix:

> library(datamicroarray)
> data(chin)
> chin$x[, 1]
  [1] "10.169815" "10.565664" "9.589976"  "10.324175" "9.784195"  "8.969536"
  [7] "10.973057" "11.399529" "10.798559" "9.685487"  "12.051186" "10.030907"
 [13] "10.307187" "11.320309" "10.404591" "10.833785" "9.735426"  "10.797899"
 [19] "10.627682" "10.631056" "10.335046" "9.758425"  "10.472313" "10.469456"
 [25] "10.266331" "9.789535"  "10.788861" "11.191206" "10.337112" "10.871078"
 [31] "9.896685"  "9.651166"  "10.793316" "10.475492" "9.740225"  "10.437926"
 [37] "9.941238"  "10.752173" "11.025179" "10.449146" "10.502874" "9.887005"
 [43] "10.324535" "11.92731"  "10.011643" "9.074154"  "9.650978"  "10.960044"
 [49] "11.080833" "10.730092" "10.144769" "10.258973" "11.342681" "11.20937"
 [55] "10.439279" "9.872279"  "10.067042" "10.843696" "9.799298"  "10.762967"
 [61] "11.250308" "10.739098" "10.967985" "10.139285" "10.482729" "11.012492"
 [67] "10.839745" "11.115753" "10.995832" "10.024971" "10.111507" "11.373869"
 [73] "10.818594" "11.437675" "10.709085" "11.275032" "10.537405" "10.175087"
 [79] "10.822135" "9.781922"  "9.165403"  "10.538037" "8.688913"  "10.582591"
 [85] "10.726001" "10.150915" "10.373924" "10.986752" "11.470086" "10.666458"
 [91] "10.65508"  "11.493546" "10.419414" "10.164545" "9.44763"   "10.199079"
 [97] "10.612112" "10.538597" "10.92159"  "11.112414" "9.917373"  "10.352251"
[103] "10.749506" "10.191069" "10.953824" "7.211304"  "9.702876"  "10.076364"
[109] "11.080688" "10.278594" "11.371984" "10.271792" "10.553228" "10.193828"
[115] "11.170514" "10.349621" "10.679596" "10.031797"