Jacques van Helden
2020-03-16
In this practical, we will load a dataset that will be used as study case to apply different approaches of multivariate analysis:
Reference: Den Boer ML et al. (2009). A subtype of childhood acute lymphoblastic leukaemia with poor treatment outcome: a genome-wide classification study. Lancet Oncol. 2009 10:125-34.
The raw microarray data has been pre-processed in order to dispose of a ready-to-use dataset. pre-processing included
The preprocessed data is available here: https://github.com/jvanheld/stat1/tree/master/data/DenBoer_2009.
It contains the following files.
File | Contents | Structure |
---|---|---|
GSE13425_group_descriptions.tsv.gz | Description of the patient groups | Tab-delimited file with one row per group and one column per type of description (group name, label) |
phenoData_GSE13425.tsv.gz | Metadata (sample descriptions) | Tab-delimited file with one row per biological sample (one per patient) and one column per type of information about the biological sample |
GSE13425_Norm_Whole.tsv.gz | Normalised microarray data | Tab-delimited file with one row per gene and one column per patient |
GSE13425_AMP_Whole.tsv.gz | Detection status of each gene in each sample (Absent, Marginal, Present) | Tab-delimited file with one row per gene and one column per patient |
Write an R script that perform the following operations
~/STAT2_CMB_practicals/den-boer-2009/
).~/STAT2_CMB_practicals/den-boer-2009/data/
).Try to make your code re-usable, in the perspective to apply it soon in order to download data sets from other web sites.
Write an R script that loads the data tables from your local data directory.
Write an R script that computes marginal statistics (mean, sd, min, percentiles 5, 10, 25, 50, 75, 90, 95, max, IQR) on each row of the normalised data table (one row corresponds to one gene).
Do the same for each column (patient).
Draw a plot that displays the empirical distribution of normalised expression values in the whole data table. Comment the shape of the distribution. Is it normal ? Symmetrical ? Unimodal ?
Compute a table with the mean expression profile per cancer type (one row per gene, one column per cancer type) and draw them with box plots.
Load the pheno table. We will use the three following columns:
Sample.GEO.ID
: the identifier of the sample in the Gene Expression Omnibus (GEO) database.Sample.title
: cancer type of each sample.sample.labels
: A short label (1 or 2 letters) for each cancer typeCound the number of samples per group and draw a barplot with the result.