Tidy logcounts data

tidy_logcounts(fsce)

Arguments

fsce

An object of class FunctionalSingleCellExperiment.

Tidying

This is a data tidier for a FunctionalSingleCellExperiment. Returns data from SingleCellExperiment in a tidy format, where variables are columns and observations are rows.

If the FunctionalSingleCellExperiment contains more than one SingleCellExperiment, data from each sce are joined using the cell_id variable name, and a new experiment column contains the name of the source sce.

See also

Examples

x <- fsce_small[c("Uracil_45"), , "haircut"]
#> harmonizing input: #> removing 250 sampleMap rows not in names(experiments)
tidy_logcounts(x)
#> # A tibble: 250 x 3 #> experiment cell_id Uracil_45 #> <chr> <chr> <dbl> #> 1 haircut TGCGGGTGTAGAGTGC 1.36 #> 2 haircut TGGTTCCCATCTATGG 2.16 #> 3 haircut CATATTCCACGTCAGC 1.85 #> 4 haircut TCACAAGTCCTGCTTG 0.477 #> 5 haircut GGAATAATCCAGGGCT 1.30 #> 6 haircut CTTGGCTGTTGATTGC 1.80 #> 7 haircut GTGAAGGTCTTTCCTC 0.895 #> 8 haircut AGCGGTCAGTAGCCGA 1.80 #> 9 haircut GGATGTTTCATGTGGT 0 #> 10 haircut GTACTCCGTAATCACC 1.39 #> # … with 240 more rows