Closed mikejiang closed 1 year ago
fix cpp11 string conversion bug reported by #390
before
> library(flowWorkspace) > dataDir <- system.file("extdata",package="flowWorkspaceData") > gs_dir <- list.files(dataDir, pattern = "gs_manual",full = TRUE) > gs <- load_gs(gs_dir) > mat <- gs_get_singlecell_expression_by_gate(gs, "CD3+") .Error: Expected string vector of length 1
after
> mat <- gs_get_singlecell_expression_by_gate(gs, "CD3+") . > head(mat) $CytoTrol_CytoTrol_1.fcs CD3 V450 SSC-A [1,] 2996.536 91113.96 [2,] 2749.284 76954.91 [3,] 2507.708 70116.48 [4,] 2657.550 66052.55
fix cpp11 string conversion bug reported by #390
before
after