isInTissue,VisiumExperiment-method {SpatialExperiment} | R Documentation

## isInTissue

### Description

returns a mask of TRUE/FALSE Barcodes spots, indicating which ones are in tissue and which ones are not.

### Usage

    ## S4 method for signature 'VisiumExperiment'
    isInTissue(x)

### Arguments

`x` | a VisiumExperiment class object.

### Value

a TRUE/FALSE mask.

### Examples

    ve <- readRDS(file=system.file(file.path("extdata", "10x_visium",
                             "ve.RDS"), package="SpatialExperiment"))
    isInTissue(ve)
    sum(isInTissue(ve))

[Package SpatialExperiment version 1.0.0 Index]