laminlabs / laminr

Lamin's R SDK.
http://laminr.lamin.ai/
Apache License 2.0
8 stars 1 forks source link

Add a `RecordsList` class? #48

Closed lazappi closed 2 weeks ago

lazappi commented 4 weeks ago

Currently, when a slot has multiple records (e.g. artifact$cell_types) they are stored in a list. This works fine except that if a user access this slot the list is printed which can have many items if the records are e.g. genes. Adding a collection class would allow us to control the printing. This could be a full R6 class or an S3 extension of a list.