read_gene_data_hdf5: Read Gene Expression Data from an HDF5 file

Description Usage Arguments Value

View source: R/hdf5.R

Description

Read Gene Expression Data from an HDF5 file

Usage

1
read_gene_data_hdf5(hdf5_file, genes, type = c("counts", "cpm"))

Arguments

hdf5_file

HDF5 file to read

genes

A vector of gene names to read

type

Whether to return "counts" or normalize to "cpm". Default is "counts".

Value

A data.frame with sample_id as the first column and each subsequent column containing gene expression values and named for the genes.


AllenInstitute/scrattch.io documentation built on Nov. 17, 2021, 10:06 a.m.