Creates a new user dataset without starting processing.
The returned list includes the dataset $id along with its current contents and status.
Usage
create_dataset(
samples = NULL,
projects = NULL,
format = "sce",
include_bulk = FALSE,
email = NULL,
auth_token = Sys.getenv("SCPCA_AUTH_TOKEN")
)Arguments
- samples
optional character vector of ScPCA sample IDs (e.g. "SCPCS000001")
- projects
optional character vector of ScPCA project IDs (e.g. "SCPCP000001"); all samples from each project are included
- format
the desired file format: "sce" (SingleCellExperiment, default) or "anndata" (AnnData/H5AD). Spatial data is not a valid format option here; spatial samples are always returned in Space Ranger format.
- include_bulk
logical; whether to include bulk RNA-seq files. Default is FALSE.
optional email address for download notification
- auth_token
an authorization token from
get_auth(). Defaults to theSCPCA_AUTH_TOKENenvironment variable, whichget_auth()sets automatically.