get_double: Get all ENROLLID that have two SPECID in a season with same...

Description Usage Arguments Value Examples

Description

This is useful to get the samples we have intrahost data for.

Usage

1
get_double(df, samples = 2)

Arguments

df

A data frame with at least ENROLLID, SPECID, season, and pcr_result. Each row is an isolate.

samples

The number of samples required to keep ENROLLID default = 2.

Value

the a data frame with only ENROLLID with multiple isolates - each row is an isolate

Examples

1
2
3
4
# There  one shared iSNV here and one fixed difference the rest are the same.
print(small_meta)

get_double(small_meta)

jtmccr1/HIVEr documentation built on May 29, 2019, 1:50 a.m.