get_rep {mina} | R Documentation

## Get the representative community members by extracting the most abundant and prevalent compositions.

### Description

Get the representative community members by extracting the most abundant and prevalent compositions.

Get the representative community members.

### Usage

    get_rep(x, ...)

    ## S4 method for signature 'matrix'
    get_rep(x, top = 5)

### Arguments

`x` | A quantitative matrix with samples in columns and compositions in rows.
`...` | Additional parameters.
`top` | The percent of the most abundant and prevalent members.

### Value

The matrix with samples in columns and representative compositions in rows.

The matrix with samples in columns and representative compositions in rows.

### Examples

    data(maize_asv)
    maize_asv_rep <- get_rep(maize_asv)
    data(maize_asv)
    maize_asv_rep <- get_rep(maize_asv, top = 5)

[Package mina version 1.2.0 Index]