get_res: Attempt to get residuals from tsne data

View source: R/dimension_reduction.R

get_resR Documentation

Attempt to get residuals from tsne data

Description

I strongly suspect that this is not correct, but it is a start.

Usage

get_res(
  svd_result,
  design,
  factors = c("condition", "batch"),
  res_slot = "v",
  var_slot = "d"
)

Arguments

svd_result

The set of results from one of the many potential svd-ish methods.

design

Experimental design from which to get experimental factors.

factors

Set of experimental factors for which to calculate rsquared values.

res_slot

Where is the res data in the svd result?

var_slot

Where is the var data in the svd result?

Value

Data frame of rsquared values and cumulative sums.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.