pca_prop_var: PCA Proportion of Variation

Description Usage Arguments

View source: R/pca_prop_var.R

Description

Calculates and plots the proportion of variation for twenty-five Principal Components of expression data before and after batch correction

Usage

1
2
3
4
5
6
7
pca_prop_var(
  batch.title,
  NameString = "",
  exprData1,
  exprData2,
  return.plot = FALSE
)

Arguments

batch.title

The tile of the batch

NameString

string that will be appear in all output filenames. Default="" (empty string)

exprData1

A matrix containing the gene Expression data before batch correction

exprData2

A matrix containing the gene Expression data after batch correction

return.plot

Should the plot be returned as an object to the environment? If FALSE, plot is saved to a pdf file, if TRUE, plot is returned to the environment. Default = FALSE


jankinsan/BatchEC documentation built on Sept. 9, 2021, 8:12 p.m.