ggcorplot: correlationship between two gene in single or all cancer

Description Usage Arguments Value Author(s) Examples

View source: R/plotting.R

Description

correlationship between two gene in single or all cancer

Usage

1
2
ggcorplot(data, gene1, gene2, type = "ALL",
  cor.test.method = "pearson")

Arguments

data

data.frame

gene1

charactor of gene name, e.g. "METTL3"

gene2

charactor of gene name, e.g. "SETD2"

type

a kind of cancer, like BRCA, default is ALL

cor.test.method

cor.test method, one of "pearson", "kendall", "spearman", default is "pearsson"

Value

a ggplot object

Author(s)

Shipeng Guo, Zhougeng Xu

Examples

1
2
3
4
5
data(pancancer_small)
p <- ggcorplot(pancancer_small, "METTL3","SETD2")
p
p <- ggcorplot(pancancer_small, "METTL3","SETD2", "BRCA")
p

pancor documentation built on Oct. 30, 2019, 10:04 a.m.