Print the unique values of a specified column (feature).
Arguments
- sce_object
SingleCellExperiment object generated by
format_image_to_sce
.- feature_colname
String of the specified column.
Examples
feature_colname <- "Phenotype"
print_feature(SPIAT::simulated_image, feature_colname)
#> [1] "OTHER"
#> [2] "Immune_marker1,Immune_marker2"
#> [3] "Tumour_marker"
#> [4] "Immune_marker1,Immune_marker2,Immune_marker4"
#> [5] "Immune_marker1,Immune_marker3"