Expand description
The typed feature table that rides beside a mixed-type embedding:
{prefix}.feature_types.parquet, string columns feature and type, one
row per embedding row in the same order. senna fne and gene-text write
it; a consumer that wants only one type of row (senna bge pinning gene
rows, say) reads it. The type names are the shared vocabulary.
Constants§
- GENE_
TYPE - Nodes whose names are canonicalised as gene symbols.
- REGION_
TYPE - Fixed genomic windows.
- TERM_
TYPE - Ontology terms and gene sets.
- WORD_
TYPE - Vocabulary words of a text relation.
Functions§
- feature_
rows - One flag per row of a table (
names, in order): true for a gene or a genomic window, by the table’s types tabletypes.Nonewhentypesdoes not listnamesin order — written for another table under the same prefix. Forcrate::aux::frozen_features::load_frozen_feature_host_matching. - feature_
types_ path - is_
data_ feature_ type - Whether rows of type
tname a data feature — a gene, or a genomic window a peak can match — rather than a term, word or cell type. - read_
feature_ types - The run’s rows;
Nonewhen the run wrote no table, which a caller reads as “every row is of the one type it expects”. - write_
feature_ types - Write the table for
names[i]of typetypes[i].
Type Aliases§
- Feature
Type - One row of the table: the feature’s name and its type.