Learn R Programming

scRNAtools (version 1.0)

scRNAtools_Gene3exp_1: Present gene expression

Description

This function can present the expression of two gene in appointed cell type.

Usage

scRNAtools_Gene3exp_1(example,types_all,gene1,gene2,gene3,n,col_1,col_2,col_3,pch,lwd)

Arguments

example

scRNA sequencing data without header.

types_all

Cell names of each type.

gene1

Gene one you are interested in.

gene2

Gene two you are interested in.

gene3

Gene three you are interested in.

n

Number of cell names in scRNA sequening data.

col_1

The color of line of gene one in the figure.

col_2

The color of line of gene two in the figure.

col_3

The color of line of gene three in the figure.

pch

The shape of nodes in figure.

lwd

The width of lines in figure.

Examples

Run this code
# NOT RUN {
data(example)
data(types_all)
gene1<-"CHD1"
gene2<-"CD82"
gene3<-"ASS1"
col_1="red"
col_2="blue"
col_3="green"
pch=19
lwd=2
n<-3
scRNAtools_Gene3exp_1(example,types_all,gene1,gene2,gene3,n,col_1,col_2,col_3,pch,lwd)
# }

Run the code above in your browser using DataLab