loop_gene_PC: Loop over genes and components vector

Description Usage Arguments Value

View source: R/loop_gene_PC.R

Description

Plot variables or genes of interest on a variable number of principal components

Usage

1
2
3
loop_gene_PC(genes, pcs, dir = dir, subdir = subdir,
  sce_object = sce_object, alpha = alpha, width = "14",
  height = "10", units = "cm")

Arguments

genes

Vector of genes names

pcs

List of principals components to plot

dir

Name of directory to save files

subdir

Name of subdirectory to save files

sce_object

A single cell experiment object

alpha

Decide the transparency of geom

width

Width of image in cm

height

Height of image in cm

Value

PCA plot of single-cell dataset with expression of selected genes as color scale


campsj/scTools documentation built on May 16, 2019, 11:10 p.m.