Learn R Programming

scRNAtools (version 1.0)

scRNAtools_cor_map: Correlation analysis

Description

Correlation analysis of interested gene set or differentially expressed gene set.

Usage

scRNAtools_cor_map(exam1, types_all, type, methods)

Arguments

exam1

scRNA sequencing data of several genes and cells.

types_all

Cell names of each type.

type

Cell type.

methods

correlation methods including "pearson", "kendall" and "spearman".

Details

Return the correlation index of each two genes.

Examples

Run this code
# NOT RUN {
data(exam1)
data(types_all)
type<-"Malignant";
methods<-"pearson";##methods = c("pearson", "kendall", "spearman").
pdf(file=file.path(tempdir(), "correlation_color.pdf"))
scRNAtools_cor_map(exam1,types_all,type,methods)
dev.off()
# }

Run the code above in your browser using DataLab