est_ptr: Estimate PTRs using all input data as well as using subsets...

View source: R/est_PTR.R

est_ptrR Documentation

Estimate PTRs using all input data as well as using subsets of contigs and samples

Description

Estimate PTRs using all input data as well as using subsets of contigs and samples

Usage

est_ptr(X)

Arguments

X

dataframe with coverage matrix (column names: "log_cov", "GC_content", "sample", "contig", "length")

Value

named list with results from all three methods all_ptr dataframe with the estimated PTRs on success, null otherwise

  • est_ptr: estimated PTR values

  • coefficient: coefficient of linear regression

  • pValue: p-value of linear regression

  • cor: correlation coefficient

  • correctY: corrected coverage

contigs_ptr dataframe with the estimated PTRs on success, null otherwise

  • est_ptr: estimated PTR values

  • coefficient: coefficient of linear regression

  • pValue: p-value of linear regression

  • cor: correlation coefficient

  • correctY: corrected coverage

samples_ptr dataframe with the estimated PTRs on success, null otherwise

  • est_ptr: estimated PTR values

  • coefficient: coefficient of linear regression

  • pValue: p-value of linear regression

  • cor: correlation coefficient

  • correctY: corrected coverage

Examples

est_ptrs_001 <- est_ptr(max_bin_003)
est_ptrs_001


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