Learn R Programming

scRNAtools (version 1.0)

scRNAtools_Geneexp_1: Present gene expression

Description

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

Usage

scRNAtools_Geneexp_1(example, gene, types_all, n, col, pch, lwd)

Arguments

example

scRNA sequencing data without header.

gene

One gene you are interested in.

types_all

Cell names of each type.

n

Number of cell names in scRNA sequening data.

col

The color of line 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)
gene<-"CHD1";###Set the gene you are interested in.
n<-3;###Set the type of cells you are interested in.
col<-"red";###Set the color of line in the figure.
pch<-19;###Set the shape of nodes in figure.
lwd<-2;###Set the width of lines in figure.
scRNAtools_Geneexp_1(example,gene,types_all,n,col,pch,lwd)
# }

Run the code above in your browser using DataLab