plot_pcfactor: make a dotplot of some categorised factors and a set of...

View source: R/plot_dotplot.R

plot_pcfactorR Documentation

make a dotplot of some categorised factors and a set of principle components.

Description

This should make a quick df of the factors and PCs and plot them.

Usage

plot_pcfactor(pc_df, expt, exp_factor = "condition", component = "PC1")

Arguments

pc_df

Df of principle components.

expt

Expt containing counts, metadata, etc.

exp_factor

Experimental factor to compare against.

component

Which principal component to compare against?

Value

Plot of principle component vs factors in the data

See Also

[ggplot2]

Examples

## Not run: 
 estimate_vs_pcs <- plot_pcfactor(pcs, times)

## End(Not run)

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