Learn R Programming

demic (version 2.0.0)

compare_sample_subsets: Compares sample subset x against sample subset y

Description

Compares sample subset x against sample subset y

Usage

compare_sample_subsets(
  est_ptrs_x,
  est_ptrs_y,
  pipeline_x,
  pipeline_y,
  cor_cutoff,
  max_cor
)

Value

a named list including the est_ptr dataframe and a max_cor value

  • sample: sample

  • est_ptr: PTR estimate

  • coefficient: coefficient of linear regression

  • pValue: p-value of linear regression

  • cor: correlation coefficient

  • correctY: corrected coverage

Arguments

est_ptrs_x

PTR estimates from sample subset x

est_ptrs_y

PTR estimates from sample subset y

pipeline_x

pipeline for sample subset x

pipeline_y

pipeline for sample subset y

cor_cutoff

the correlation cutoff

max_cor

the max correlation