cleanup_taxons: Clean up taxons by removing structures no longer present...

Description Usage Arguments Value

View source: R/ontology.R

Description

Clean up taxons by removing structures no longer present after filtering

Usage

1
2
cleanup_taxons(flat_ontology, id_column = "id",
  taxon_column = "taxons")

Arguments

flat_ontology

A flat ontology data.frame generated by flatten_mba_ontology.

id_column

The id column used to link structures. default is "id".

taxon_column

The name of the column with taxons generated by generate_taxons().

Value

a data.frame with a modified taxons column that lacks any ids that are no longer present in the ontology.


AllenInstitute/cocoframer documentation built on May 21, 2020, 3:09 a.m.