Tidy counts data

tidy_counts(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_counts(x)
#> # A tibble: 250 x 3 #> experiment cell_id Uracil_45 #> <chr> <chr> <dbl> #> 1 haircut TGCGGGTGTAGAGTGC 6 #> 2 haircut TGGTTCCCATCTATGG 17 #> 3 haircut CATATTCCACGTCAGC 11 #> 4 haircut TCACAAGTCCTGCTTG 1 #> 5 haircut GGAATAATCCAGGGCT 6 #> 6 haircut CTTGGCTGTTGATTGC 9 #> 7 haircut GTGAAGGTCTTTCCTC 3 #> 8 haircut AGCGGTCAGTAGCCGA 11 #> 9 haircut GGATGTTTCATGTGGT 0 #> 10 haircut GTACTCCGTAATCACC 6 #> # … with 240 more rows