From eea5004c4ed026182cb5c1f0065a914fa2692410 Mon Sep 17 00:00:00 2001 From: niklasmueboe Date: Mon, 17 Jun 2024 14:27:04 +0200 Subject: [PATCH] use string not inlinestring --- docs/src/examples/ExampleAnalysis.md | 2 +- src/IO.jl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/examples/ExampleAnalysis.md b/docs/src/examples/ExampleAnalysis.md index edaace5..8cbd723 100644 --- a/docs/src/examples/ExampleAnalysis.md +++ b/docs/src/examples/ExampleAnalysis.md @@ -39,7 +39,7 @@ counts = readstereoseq(stereoseq_file) ```` ```` -GridCounts{InlineStrings.String15, Int16} (10500, 13950) with 26177 genes +GridCounts{String,Int16} (10500, 13950) with 26177 genes ```` We also load pre-defined cell-type signatures diff --git a/src/IO.jl b/src/IO.jl index 498c3e5..d9d2a8a 100644 --- a/src/IO.jl +++ b/src/IO.jl @@ -42,6 +42,7 @@ Read StereoSeq `file` as [`GridCounts`](@ref). """ function readstereoseq(file) df = readGEMfile(file) + transform!(df, :geneID => (x -> map(y -> convert(String, y), x; pure=true)) => :geneID) return GridCounts(df) end