write_features: Write feature values to a h5 file

View source: R/h5_features.R

write_featuresR Documentation

Write feature values to a h5 file

Description

Write feature values to a h5 file

Get a feature values matrix

Usage

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

guess_features_matrix(seurat, ...)

Arguments

h5_file

Path to h5 file

feature_types

A list of feature names indexed by feature type

features_matrix

Matrix of cells (rows) and features (columns)

...

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


ChristopherBarrington/scviewer documentation built on June 30, 2023, 5:34 p.m.