plot_pca_paint_crispr_repel: Plot PCA Paint Crispr

View source: R/plot_pca_paint_crispr_repel.R

plot_pca_paint_crispr_repelR Documentation

Plot PCA Paint Crispr

Description

Plots PCA from scores file (output of PCA_from_file)

Usage

plot_pca_paint_crispr_repel(
  file,
  gene = "JUN",
  title = "",
  labels = TRUE,
  PCx = "PC1",
  PCy = "PC2",
  ellipse = F,
  conf = 0.95,
  density = F,
  fliph = F,
  flipv = F,
  crispr.file.extra.string = ""
)

Arguments

file

File containing scores matrix

title

Title of the plot

labels

default=T

PCx, PCy

PCs to display

ellipse

Construct confidence region based on groups in info.type, default = T

conf

default = 0.95

density

plot x-y density plots

fliph, flipv

flip plot hoirzontally or vertically

info.name

Vector of sample names

info.type

Vector of sample types in the same order

Details

plot_pca_paint_gene differs from plot_pca in that it uses gradient coloring of points based on the expression values of a gene plot_pca_paint_gene_repel uses geom_text_repel


graeberlab-ucla/glab.library documentation built on Oct. 28, 2024, 10:48 a.m.