visualization_with_simple_pca: A simple PCA plot.

View source: R/visualization_with_simple_pca.R

visualization_with_simple_pcaR Documentation

A simple PCA plot.

Description

A simple PCA plot.

Usage

visualization_with_simple_pca(
  expr_data_frame,
  main = "Simple PCA",
  point_cex = 2,
  point_col = "firebrick",
  point_type = 20,
  text_cex = 1
)

Arguments

expr_data_frame

A data frame containing ID and quantification value.

main

The main title of plot.

point_cex

a numerical value for point size.

point_col

a color code or name for point color.

point_type

point type, see points.

text_cex

a numerical value for text size.

Value

A simple PCA plot.

Author(s)

Dongdong Zhan and Mengsha Tong

Examples

## Not run: 
ftp_url <- "ftp://111.198.139.72:4000/pub/PhosMap_datasets/function_demo_data/visualization_with_simple_pca.RData"
load_data <- load_data_with_ftp(ftp_url, 'RData')
writeBin(load_data, "visualization_with_simple_pca.RData")
load("visualization_with_simple_pca.RData")

visualization_with_simple_pca(expr_df, main = 'Simple PCA',
  point_cex = 2, point_col = 'firebrick',
  point_type = 20, text_cex = 1
)

## End(Not run)

ecnuzdd/PhosMap documentation built on Dec. 7, 2022, 4:09 a.m.