Learn R Programming

transGFM (version 1.0.2)

source_detection: Detect positive and negative transfer sources using ratio method

Description

Detect positive and negative transfer sources using ratio method

Usage

source_detection(
  X_sources,
  X0,
  r,
  C,
  C2,
  data_type = "count",
  c_penalty = 0.1,
  verbose = TRUE
)

Value

List with positive_sources, negative_sources, and diagnostic info

Arguments

X_sources

List of source data matrices (may contain missing values)

X0

Target data matrix (complete)

r

Number of factors

C

CJMLE projection constant

C2

Refinement projection constant

data_type

Type of data: "continuous", "count", or "binary"

c_penalty

Penalty coefficient (default: 0.1)

verbose

Print progress information (default: TRUE)