Learn R Programming

demic (version 2.0.0)

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

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

Arguments

X

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

Examples

Run this code
est_ptrs_001 <- est_ptr(max_bin_003)
est_ptrs_001

Run the code above in your browser using DataLab