extract_features: Extract all spatial features

Description Usage Arguments Value Examples

Description

Extract all spatial features

Usage

1
2
3
4
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

1
2
3
4
5
6
#' #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)

gusef/IrisSpatialFeatures documentation built on May 6, 2019, 9:50 p.m.