Import RNA results from multiome Cell Ranger results into a SingleCellExperiment.

createRNASCE(
  h5.files,
  sample.names = NULL,
  feature.type = "Gene Expression",
  filter.features.without.intervals = TRUE
)

Arguments

h5.files

Vector of strings specifying filtered_feature_bc_matrix.h5 path. ex. could just be filtered_feature_bc_matrix.h5. Vector must be the same length as sample.names.

sample.names

Vector of strings specifying sample names. Vector must be the same length as h5.files.

feature.type

String specifying the feature type to select from filtered_feature_bc_matrix.h5.

filter.features.without.intervals

Logical whether to remove features from the h5.files that do not have interval specified. Often these are mitochondria genes.

Value

A SingleCellExperiment

Author

Natalie Fox