write_features.RdWrite 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, ...)
| h5_file | Path to |
|---|---|
| features_matrix | Matrix of cells (rows) and features (columns) |
| feature_types | A list of feature names indexed by feature type |
| ... | Ignored |
| seurat | Seurat object |
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.
write_features: Write feature matrix to h5_file
guess_features_matrix: Create a feature values matrix using default features