Tidy colData

tidy_coldata(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

tidy_coldata(fsce_small)
#> # A tibble: 250 x 4 #> cell_id k_cluster leiden_cluster cell_cycle #> <chr> <chr> <chr> <chr> #> 1 TGCGGGTGTAGAGTGC 2 2 S #> 2 TGGTTCCCATCTATGG 6 4 S #> 3 CATATTCCACGTCAGC 2 2 G2M #> 4 TCACAAGTCCTGCTTG 5 3 G1 #> 5 GGAATAATCCAGGGCT 4 4 G1 #> 6 CTTGGCTGTTGATTGC 5 3 G2M #> 7 GTGAAGGTCTTTCCTC 6 1 S #> 8 AGCGGTCAGTAGCCGA 6 1 G1 #> 9 GGATGTTTCATGTGGT 3 6 S #> 10 GTACTCCGTAATCACC 6 1 G1 #> # … with 240 more rows