Using on the output of get_dataset_samples
, this function creates
a simplified design table, granting one column to each experimental variable
make_design(samples, metaType = "text")
An output from get_dataset_samples. The output should not be raw
Type of metadata to include in the output. "text", "uri" or "both"
A data.frame including the design table for the dataset
samples <- get_dataset_samples('GSE46416')
make_design(samples)
#> factorValues
#> Bipolar disorder patient euthymic phase, 17 c("disea....
#> Bipolar disorder patient euthymic phase, 34 c("disea....
#> Control, 15 c("disea....
#> Bipolar disorder patient euthymic phase, 32 c("disea....
#> Control, 8 c("disea....
#> Bipolar disorder patient manic phase, 21 c("block....
#> Bipolar disorder patient manic phase, 18 c("block....
#> Bipolar disorder patient manic phase, 29 c("block....
#> Bipolar disorder patient euthymic phase, 6 c("disea....
#> Bipolar disorder patient manic phase, 10 c("disea....
#> Control, 2_DE23 c("disea....
#> Bipolar disorder patient euthymic phase, 36 c("disea....
#> Bipolar disorder patient euthymic phase, 19 c("block....
#> Control, 12 c("disea....
#> Bipolar disorder patient euthymic phase, 30 c("block....
#> Bipolar disorder patient manic phase, 23 c("block....
#> Bipolar disorder patient manic phase, 5 c("disea....
#> Bipolar disorder patient euthymic phase, 38 c("disea....
#> Bipolar disorder patient manic phase, 16 c("block....
#> Bipolar disorder patient euthymic phase, 11 c("disea....
#> Bipolar disorder patient manic phase, 35 c("disea....
#> Control, 3 c("disea....
#> Bipolar disorder patient manic phase, 31 c("disea....
#> Bipolar disorder patient euthymic phase, 24 c("block....
#> Control, 1_DE62 c("disea....
#> Control, 4 c("disea....
#> Control, 9 c("disea....
#> Bipolar disorder patient manic phase, 33 c("disea....
#> Control, 1_DE50 c("disea....
#> Control, 2_DE40 c("disea....
#> Bipolar disorder patient manic phase, 37 c("disea....
#> Bipolar disorder patient euthymic phase, 22 c("block....
#> disease
#> Bipolar disorder patient euthymic phase, 17 bipolar disorder has_modifier euthymic phase
#> Bipolar disorder patient euthymic phase, 34 bipolar disorder has_modifier euthymic phase
#> Control, 15 reference subject role
#> Bipolar disorder patient euthymic phase, 32 bipolar disorder has_modifier euthymic phase
#> Control, 8 reference subject role
#> Bipolar disorder patient manic phase, 21 bipolar disorder has_modifier manic phase
#> Bipolar disorder patient manic phase, 18 bipolar disorder has_modifier manic phase
#> Bipolar disorder patient manic phase, 29 bipolar disorder has_modifier manic phase
#> Bipolar disorder patient euthymic phase, 6 bipolar disorder has_modifier euthymic phase
#> Bipolar disorder patient manic phase, 10 bipolar disorder has_modifier manic phase
#> Control, 2_DE23 reference subject role
#> Bipolar disorder patient euthymic phase, 36 bipolar disorder has_modifier euthymic phase
#> Bipolar disorder patient euthymic phase, 19 bipolar disorder has_modifier euthymic phase
#> Control, 12 reference subject role
#> Bipolar disorder patient euthymic phase, 30 bipolar disorder has_modifier euthymic phase
#> Bipolar disorder patient manic phase, 23 bipolar disorder has_modifier manic phase
#> Bipolar disorder patient manic phase, 5 bipolar disorder has_modifier manic phase
#> Bipolar disorder patient euthymic phase, 38 bipolar disorder has_modifier euthymic phase
#> Bipolar disorder patient manic phase, 16 bipolar disorder has_modifier manic phase
#> Bipolar disorder patient euthymic phase, 11 bipolar disorder has_modifier euthymic phase
#> Bipolar disorder patient manic phase, 35 bipolar disorder has_modifier manic phase
#> Control, 3 reference subject role
#> Bipolar disorder patient manic phase, 31 bipolar disorder has_modifier manic phase
#> Bipolar disorder patient euthymic phase, 24 bipolar disorder has_modifier euthymic phase
#> Control, 1_DE62 reference subject role
#> Control, 4 reference subject role
#> Control, 9 reference subject role
#> Bipolar disorder patient manic phase, 33 bipolar disorder has_modifier manic phase
#> Control, 1_DE50 reference subject role
#> Control, 2_DE40 reference subject role
#> Bipolar disorder patient manic phase, 37 bipolar disorder has_modifier manic phase
#> Bipolar disorder patient euthymic phase, 22 bipolar disorder has_modifier euthymic phase
#> block
#> Bipolar disorder patient euthymic phase, 17 Batch_02_26/11/09
#> Bipolar disorder patient euthymic phase, 34 Batch_04_02/12/09
#> Control, 15 Batch_02_26/11/09
#> Bipolar disorder patient euthymic phase, 32 Batch_04_02/12/09
#> Control, 8 Batch_01_25/11/09
#> Bipolar disorder patient manic phase, 21 Batch_03_27/11/09
#> Bipolar disorder patient manic phase, 18 Batch_02_26/11/09
#> Bipolar disorder patient manic phase, 29 Batch_03_27/11/09
#> Bipolar disorder patient euthymic phase, 6 Batch_05_24/11/10
#> Bipolar disorder patient manic phase, 10 Batch_01_25/11/09
#> Control, 2_DE23 Batch_05_24/11/10
#> Bipolar disorder patient euthymic phase, 36 Batch_04_02/12/09
#> Bipolar disorder patient euthymic phase, 19 Batch_03_27/11/09
#> Control, 12 Batch_02_26/11/09
#> Bipolar disorder patient euthymic phase, 30 Batch_03_27/11/09
#> Bipolar disorder patient manic phase, 23 Batch_03_27/11/09
#> Bipolar disorder patient manic phase, 5 Batch_05_24/11/10
#> Bipolar disorder patient euthymic phase, 38 Batch_04_02/12/09
#> Bipolar disorder patient manic phase, 16 Batch_02_26/11/09
#> Bipolar disorder patient euthymic phase, 11 Batch_02_26/11/09
#> Bipolar disorder patient manic phase, 35 Batch_04_02/12/09
#> Control, 3 Batch_05_24/11/10
#> Bipolar disorder patient manic phase, 31 Batch_04_02/12/09
#> Bipolar disorder patient euthymic phase, 24 Batch_03_27/11/09
#> Control, 1_DE62 Batch_01_25/11/09
#> Control, 4 Batch_05_24/11/10
#> Control, 9 Batch_01_25/11/09
#> Bipolar disorder patient manic phase, 33 Batch_04_02/12/09
#> Control, 1_DE50 Batch_05_24/11/10
#> Control, 2_DE40 Batch_01_25/11/09
#> Bipolar disorder patient manic phase, 37 Batch_04_02/12/09
#> Bipolar disorder patient euthymic phase, 22 Batch_03_27/11/09