plot_PCA: plot PCA result

Description Usage Arguments Value Examples

Description

Custom PCA output using output from PCA

Usage

1
2
3
4
5
plot_PCA(pca, file = NULL, legend_file = NULL, title = NULL,
  Xcom = 1, Ycom = 2, cell_table = NULL, color_by = NULL,
  shape_by = NULL, size_by = NULL, width = 5, height = 5,
  alpha = 0.5, pallete = NULL, option = NULL, le_width = NULL,
  le_height = 4)

Arguments

pca

output from Clustering_PCA function

file

graph image

legend_file

output of legend graph

title

title of graph

Xcom

Specify principal component at X-axis. (Default = 1)

Ycom

Specify principal component at Y-axis. (Default = 2)

cell_table

data frame having cell informations. 1 of column should be "Cell". Other column could be use for specify coloring, shape, size information.

color_by

specify color target column

shape_by

specify shape target column

size_by

specify size target column

width

default = 5

height

default = 5

pallete

color vectors

option

other options for ggplot drawing

Value

graph file

Examples

1
plot_PCA(pca, file="output.png")

rafysta/rafysta documentation built on May 3, 2019, 3:21 p.m.