inst/scripts/1.0.0/make-tenx-3.0.0-pbmc_10k_protein_v3.R

base.url <- "https://cf.10xgenomics.com/samples/cell-exp/3.0.0/pbmc_10k_protein_v3"

files <- read.csv(text="name,description,output
pbmc_10k_protein_v3_molecule_info.h5,molecule information file,mol_info.h5
pbmc_10k_protein_v3_filtered_feature_bc_matrix.h5,filtered HDF5 matrix,filtered.h5
pbmc_10k_protein_v3_raw_feature_bc_matrix.h5,raw HDF5 matrix,raw.h5
pbmc_10k_protein_v3_filtered_feature_bc_matrix.tar.gz,filtered count matrix,filtered.tar.gz
pbmc_10k_protein_v3_raw_feature_bc_matrix.tar.gz,raw count matrix,raw.tar.gz")

prefix <- "tenx-3.0.0-pbmc_10k_protein_v3"
version <- "1.0.0"

out <- DropletTestFiles:::download10xData(
    files=files,
    base=base.url,
    prefix=prefix,
    version=version,
    short="10X PBMC 10k with proteins",
    long="10X Genomics single-cell RNA-seq with cell surface proteins for 10K PBMCs from a healthy donor (3' v3 chemistry, CellRanger 3.0.0)",
    BiocVersion="3.12",
    Genome="hg38",
    SourceUrl="https://support.10xgenomics.com/single-cell-gene-expression/datasets/3.0.0/pbmc_10k_protein_v3"
)

write.csv(out, row.names=FALSE,
    file=file.path("../../extdata", version, paste0("metadata-", prefix, ".csv")))
LTLA/DropletTestFiles documentation built on Sept. 18, 2020, 5:20 p.m.