Get_Scatterplot2: To show the corralations between two genes

Description Usage Arguments Examples

View source: R/Get_Scatterplot.R

Description

To show the corralations between two genes

Usage

1
2
3
4
5
6
7
8
Get_Scatterplot2(
  mat.object = NULL,
  seurat_object = NULL,
  log = F,
  genes = c("x", "y"),
  filename = NULL,
  type = NULL
)

Arguments

mat.object

expression matrix as genes in row, samples or cells in column

seurat_object

it also support a seurat_object instead of expression matrix

log

the mat.object whether had log

genes

the genes to show

filename

the name of the generated file

type

Smoothing method (function) to use, accepts either NULL(default) or a character vector, e.g. "lm", "glm", "gam", "loess" or a function

Examples

1
2
3
4
5
6
## Not run: 
input.file <- system.file('extdata','pbmc_1k.RDS',package = 'LIANLABDATA')
pbmc_1k <- readRDS(input.file)
Get_Scatterplot1(pbmc_1k,genes=c('CD8A','CD4'))

## End(Not run)

Lian-Lab/LIANLAB documentation built on June 23, 2021, 5:37 a.m.