write_data: write scRNA-Seq profiles and pheno data, RNA-Seq bulk data...

View source: R/h5_write_data.R

write_dataR Documentation

write scRNA-Seq profiles and pheno data, RNA-Seq bulk data and cell type proportions within the bulks in format used by benchmark to hdf5 file

Description

write scRNA-Seq profiles and pheno data, RNA-Seq bulk data and cell type proportions within the bulks in format used by benchmark to hdf5 file

Usage

write_data(
  sc.counts = NULL,
  sc.pheno = NULL,
  bulk.counts = NULL,
  bulk.props = NULL,
  filename
)

Arguments

sc.counts

numeric matrix, with feature as rows and scRNA-Seq profiles as columns

sc.pheno

data frame, with scRNA-Seq profiles as rows, and pheno entries as rows

bulk.counts

numeric matrix, with features as rows bulk measurements as columns

bulk.props

numeric matrix containing cell type proportions, cell types as rows, bulks as columns

filename

string, where should the data be stored?

Value

NULL, function saves into ‘filename‘


MarianSchoen/DMC documentation built on Aug. 2, 2022, 3:05 p.m.