Learn R Programming

demic (version 2.0.0)

get_eptr_stats: 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)

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

Arguments

X

cov3 dataframe

iterations

number of iterations to run

Examples

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

Run the code above in your browser using DataLab