Skip to contents

Calculates the completeness between any two samples using "or", is an entry missing in either X "or" Y.

Usage

pairwise_completeness(
  data_matrix,
  global_na = c(NA, Inf, 0),
  include_only = NULL,
  return_matrix = TRUE
)

Arguments

data_matrix

samples are columns, features are rows

global_na

globally, what should be treated as NA?

include_only

is there certain comparisons to do?

return_matrix

should the matrix or data.frame be returned?

Value

matrix of degree of completeness

See also