get_top_clones: get_top_clones (helper function)

Description Usage Arguments Value Examples

View source: R/get_top_clones.R

Description

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

Usage

1
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

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

d93espinoza/barcodetrackR documentation built on April 28, 2021, 1:58 p.m.