Skip to content

Instantly share code, notes, and snippets.

@johnkerl
Created November 5, 2023 00:34
Show Gist options
  • Save johnkerl/d22373ff55cca23cd23672dae547b3de to your computer and use it in GitHub Desktop.
Save johnkerl/d22373ff55cca23cd23672dae547b3de to your computer and use it in GitHub Desktop.
> tiledbsoma::show_package_versions()
tiledbsoma: 1.5.0
tiledb-r: 0.21.2
tiledb core: 2.17.4
libtiledbsoma: libtiledb=2.17.4
R: R version 4.3.0 (2023-04-21)
OS: macOS 14.0
> exp <- SOMAExperimentOpen('s3://tiledb-johnkerl/s/v/pbmc3k')
> exp$obs$schema()
Schema
soma_joinid: int64 not null
obs_id: string not null
n_genes: int64 not null
percent_mito: float not null
n_counts: float not null
louvain: dictionary<values=string, indices=int8> not null
> exp$obs$read(value_filter='n_genes > 500')$concat()
Table
2450 rows x 6 columns
$soma_joinid <int64 not null>
$obs_id <large_string not null>
$n_genes <int64 not null>
$percent_mito <float not null>
$n_counts <float not null>
$louvain <dictionary<values=string, indices=int8> not null>
> exp$obs$read(value_filter='louvain == "B cells"')$concat()
Error: C API: TileDB Internal, std::exception; Enumeration value not found for field 'louvain'
In addition: Warning message:
In stopifnot(`Argument 'qc' with query condition object required` = inherits(qc, :
NAs introduced by coercion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment