The MetaGxPancreas package is a compendium of Pancreatic Cancer datasets. The package is publicly available and can be installed from Bioconductor into R version 3.6.0 or higher. Currently, the phenoData for the datasets is overall survival status and overall survival time. This survival information is available for 11 of the 15 datasets.
if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install("MetaGxPancreas")
First we load the MetaGxPancreas package into the workspace.
library(MetaGxPancreas) pancreasData <- loadPancreasDatasets() duplicates <- pancreasData$duplicates SEs <- pancreasData$SEs
This will load 15 expression datasets. Users can modify the parameters of the function to restrict datasets that do not meet certain criteria for loading. Some example parameters are shown below:
To obtain the number of samples per dataset, run the following:
numSamples <- vapply(SEs, function(SE) length(colnames(SE)), FUN.VALUE=numeric(1)) sampleNumberByDataset <- data.frame(numSamples=numSamples, row.names=names(SEs)) totalNumSamples <- sum(sampleNumberByDataset$numSamples) sampleNumberByDataset <- rbind(sampleNumberByDataset, totalNumSamples) rownames(sampleNumberByDataset)[nrow(sampleNumberByDataset)] <- 'Total' knitr::kable(sampleNumberByDataset)
sessionInfo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.