regulator: A function for regulation between gane and genes

Description Usage Arguments Examples

View source: R/regulator.R

Description

A function for regulation between gane and genes.

Usage

1
regulator(target, data, plot = TRUE, type = "1", scale = TRUE, group = "med", FC = 2, FDR = 0.05)

Arguments

target

the gene that will be check in expression profile.

data

the dataset for gene expression. Consisting of a matrix. Rownames are gene names, colnames are sample ID.

plot

a logical value for ploting results.default TRUE, print the figure to window.

type

The ragulation type for target. if type=1, thie model will caculate the downregulated genes for target gene; if type=2, it will caculate the upregulated genes for target gene.

scale

a logical value indicating whether the expression profile needs to normalized by log2(X+1).default scale=TRUE.

group
FC

The fold change for difference between target gene and other genes.

FDR

The False discovery rate for results.if type=2,the FDR equal to P-value.

Examples

1
2
3
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

onesand1/GRC documentation built on Dec. 22, 2020, 1:38 a.m.