Write feature values to a h5 file

Get a feature values matrix

write_features(h5_file, features_matrix, feature_types, ..., dry_run = FALSE)

guess_features_matrix(seurat, ...)

Arguments

h5_file

Path to h5 file

features_matrix

Matrix of cells (rows) and features (columns)

feature_types

A list of feature names indexed by feature type

...

Ignored

seurat

Seurat object

Details

The feature_names list uses the feature type to influence types of plot and app behaviour so should be one of those recognised by the app. Defaults to any if not specified.

Combines the RNA@data slot and any numeric meta data variables into a feature_matrix.

Functions

  • write_features: Write feature matrix to h5_file

  • guess_features_matrix: Create a feature values matrix using default features