get_eptr_stats: Generate a variety of stats on PTR estimates for a given...

View source: R/est_ptr_stats.R

get_eptr_statsR Documentation

Generate a variety of stats on PTR estimates for a given dataset

Description

Generate a variety of stats on PTR estimates for a given dataset

Usage

get_eptr_stats(X, iterations = 30)

Arguments

X

cov3 dataframe

iterations

number of iterations to run

Value

named list of stats on PTR estimates

  • all_sd: standard deviation of PTR estimates from all method

  • all_mean: mean of PTR estimates from all method

  • contigs_sd: standard deviation of PTR estimates from contigs method

  • contigs_mean: mean of PTR estimates from contigs method

  • samples_sd: standard deviation of PTR estimates from samples method

  • samples_mean: mean of PTR estimates from samples method

Examples

stats <- get_eptr_stats(max_bin_001[max_bin_001$sample %in% c('Akk0_001', 'Akk1_001'), ], 2)
stats


demic documentation built on May 29, 2024, 10:05 a.m.