View source: R/fetchReference.R
fetchReference | R Documentation |
Fetch a reference dataset (or its metadata) from the gypsum backend.
fetchReference(
name,
version,
path = NA,
package = "celldex",
cache = cacheDirectory(),
overwrite = FALSE,
realize.assays = FALSE,
...
)
fetchMetadata(
name,
version,
path = NA,
package = "celldex",
cache = cacheDirectory(),
overwrite = FALSE
)
name |
String containing the name of the reference dataset. |
version |
String containing the version of the dataset. |
path |
String containing the path to a subdataset, if |
package |
String containing the name of the package. |
cache , overwrite |
Arguments to pass to |
realize.assays |
Logical scalar indicating whether to realize assays into memory. Dense and sparse ReloadedArray objects are converted into ordinary arrays and dgCMatrix objects, respectively. |
... |
Further arguments to pass to |
fetchReference
returns the dataset as a SummarizedExperiment.
This is guaranteed to have a "logcounts"
assay with log-normalized expression values,
along with at least one character vector of labels in the column data.
fetchMetadata
returns a named list of metadata for the specified dataset.
Aaron Lun
https://github.com/ArtifactDB/bioconductor-metadata-index, on the expected schema for the metadata.
saveReference
and uploadDirectory
, to save and upload a dataset.
listReferences
and listVersions
, to get possible values for name
and version
.
fetchReference("immgen", "2024-02-26")
str(fetchMetadata("immgen", "2024-02-26"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.