Learn R Programming

pancor (version 0.1.0)

ggcorplot: correlationship between two gene in single or all cancer

Description

correlationship between two gene in single or all cancer

Usage

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

Examples

Run this code
# NOT RUN {
data(pancancer_small)
p <- ggcorplot(pancancer_small, "METTL3","SETD2")
p
p <- ggcorplot(pancancer_small, "METTL3","SETD2", "BRCA")
p

# }

Run the code above in your browser using DataLab