| Title: | Experiment data for CLAMP package |
|---|---|
| Description: | Curated CLAMP resources (latent variables, loadings, priors, and example matrices) for use with the CLAMP package, distributed via ExperimentHub. |
| Authors: | Marc Subirana-Granés [aut, cre] (ORCID: <https://orcid.org/0000-0003-3934-839X>) |
| Maintainer: | Marc Subirana-Granés <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.99.5 |
| Built: | 2026-10-10 10:47:17 UTC |
| Source: | https://github.com/bioc/CLAMPData |
Returns a data frame of the paths, types, and purpose of each dataset required in a CLAMP HDF5 expression file.
clamp_h5_schema()clamp_h5_schema()
A data frame with columns path, type, and
description.
clamp_h5_schema()clamp_h5_schema()
Retrieves the raw count matrix (path to gzipped file) for the GSE164416 dataset from ExperimentHub.
GSE164416_DP_htseq_counts_txt_gz()GSE164416_DP_htseq_counts_txt_gz()
A character string representing the local file path to the downloaded resource.
if (interactive()) { counts_path <- GSE164416_DP_htseq_counts_txt_gz() print(counts_path) }if (interactive()) { counts_path <- GSE164416_DP_htseq_counts_txt_gz() print(counts_path) }
Retrieves the H5 file (path) containing gene sets and pathway priors from ExperimentHub.
human_gene_v2_5_alz_h5()human_gene_v2_5_alz_h5()
A character string representing the local file path to the downloaded resource.
if (interactive()) { h5_path <- human_gene_v2_5_alz_h5() print(h5_path) }if (interactive()) { h5_path <- human_gene_v2_5_alz_h5() print(h5_path) }
Retrieves the metadata CSV file (path) for the islets example from ExperimentHub.
islets_metadata_csv()islets_metadata_csv()
A character string representing the local file path to the downloaded resource.
if (interactive()) { metadata_path <- islets_metadata_csv() print(metadata_path) }if (interactive()) { metadata_path <- islets_metadata_csv() print(metadata_path) }
Returns a data frame of all datasets in the package, one row per
resource. The accessor column names the function that returns
the local file path for each resource.
list_clamp_data()list_clamp_data()
A data.frame with columns name, accessor,
description, type, species, eh_id, and
version.
datasets <- list_clamp_data() datasets[, c("name", "type", "eh_id")]datasets <- list_clamp_data() datasets[, c("name", "type", "eh_id")]
Downloads the Alzheimer HDF5 file via ExperimentHub, validates it against
clamp_h5_schema, and returns the expression matrix oriented
as genes x samples with gene symbols and sample identifiers as row and
column names
read_clamp_alz_expression()read_clamp_alz_expression()
A numeric matrix with gene symbols as row names and sample identifiers as column names.
if (interactive()) { expr <- read_clamp_alz_expression() dim(expr) }if (interactive()) { expr <- read_clamp_alz_expression() dim(expr) }
Downloads the GSE164416 HTSeq count file via ExperimentHub and reads it as a data frame
read_islet_counts()read_islet_counts()
A data frame with an ensembl gene-ID column and one count
column per sample.
if (interactive()) { counts <- read_islet_counts() dim(counts) }if (interactive()) { counts <- read_islet_counts() dim(counts) }
Downloads the islet sample metadata CSV via ExperimentHub and reads it as a data frame
read_islet_metadata()read_islet_metadata()
A data frame with one row per sample.
if (interactive()) { meta <- read_islet_metadata() head(meta) }if (interactive()) { meta <- read_islet_metadata() head(meta) }
Checks that an HDF5 file contains the datasets CLAMP expects (see
clamp_h5_schema).
validate_clamp_h5(path)validate_clamp_h5(path)
path |
Path to an HDF5 file. |
TRUE invisibly if the file is valid; otherwise stops with
a message listing the missing datasets.
if (interactive()) { validate_clamp_h5(human_gene_v2_5_alz_h5()) }if (interactive()) { validate_clamp_h5(human_gene_v2_5_alz_h5()) }