get_top_clones {barcodetrackR} | R Documentation

## get_top_clones (helper function)

### Description

Retrieves the sequence(s) (row-identifier(s)) of the top "n_clones" within the specified sample from a SummarizedExperiment object.

### Usage

    get_top_clones(your_SE, SAMPLENAME_choice, n_clones = 10)

### Arguments

`your_SE` | A summarized experiment.
`SAMPLENAME_choice` | Name of the SAMPLENAME identifier within your_SE from which to retrieve the top clones from.
`n_clones` | Numeric. Number of top clones from the specified sample that should be retrieved.

### Value

The row indices for the top n_clones in the dataset, using the 'ranks' assay.

### Examples

    data(wu_subset)
    get_top_clones(wu_subset, "ZJ31_6m_T", n_clones = 10)

[Package barcodetrackR version 1.2.0 Index]