R: Extract parts of a '"dist"' object.

dist_subset {qiimer} | R Documentation

## Extract parts of a '"dist"' object.

### Description

Extract parts of a '"dist"' object.

### Usage

    dist_subset(d, idx)

### Arguments

`d` | A distance matrix object of class '"dist"'.
`idx` | Indices specifying the subset of distances to extract.

### Value

A distance matrix.

### Examples

    data(relmbeta_dist)
    dist_subset(relmbeta_dist, c("A1", "A2", "A3", "A4", "A5"))

[Package qiimer version 0.9.4 Index]