extract_features {IrisSpatialFeatures}R Documentation

Extract all spatial features

Description

Extract all spatial features

Usage

extract_features(x, ...)

## S4 method for signature 'ImageSet'
extract_features(x, name = "", rm.na = FALSE)

Arguments

x

IrisSpatialFeatures ImageSet object

...

Additional arguments

name

Prefix for all features, e.g. 'invasive_margin' (Default: ”)

rm.na

Should features with NA values be removed (Default: FALSE)

Value

dataframe of features

Examples


#' #loading pre-read dataset
dataset <- IrisSpatialFeatures_data
dataset <- extract_nearest_neighbor(dataset,min_num_cells=2)
dataset <- extract_proximity(dataset,only_closest=TRUE,radii=25)
dataset <- extract_interactions(dataset)
extract_features(dataset)

[Package IrisSpatialFeatures version 1.3.0 Index]