Does SingleCellExperiment has genomic coordinates in features ?

has_genomic_coordinates(scExp)

Arguments

scExp

A SingleCellExperiment object

Value

TRUE or FALSE

Examples

#> ChromSCape::create_scExp - the matrix has 300 cells and 600 features.
has_genomic_coordinates(scExp)
#> [1] TRUE
scExp_gene = create_scExp(create_scDataset_raw(featureType="gene")$mat, create_scDataset_raw(featureType="gene")$annot)
#> ChromSCape::create_scExp - the matrix has 300 cells and 600 features.
has_genomic_coordinates(scExp_gene)
#> [1] FALSE