subset_musica_by_counts {musicatk} | R Documentation

## Creates a new musica subsetted to only samples with enough variants

### Description

Creates a new musica subsetted to only samples with enough variants

### Usage

    subset_musica_by_counts(musica, table_name, num_counts)

### Arguments

`musica` | A `musica` object.
`table_name` | Name of table used for subsetting
`num_counts` | Minimum sum count value to drop samples

### Value

Returns a new musica object with sample annotations, count tables, and variants subsetted to only contains samples with the specified minimum number of counts (column sums) in the specified table

### Examples

    data(musica_sbs96)
    subset_musica_by_counts(musica_sbs96, "SBS96", 20)

[Package musicatk version 1.2.0 Index]