plot_ExpSd: Plot the stadard deviation against average experssion of...

Description Usage Arguments Value See Also Examples

View source: R/plot_ExpSd.R

Description

plot_ExpSd generates a scatter plot and fits with a smoothing line to data.

Usage

1
plot_ExpSd(data, title, fitline = FALSE)

Arguments

data

A matrix, the normalized gene/microRNA expression dataset, should be a numeric matrix, with rows referring to genes/microRNAs and columns to samples.

title

The title of the figure.

fitline

Logical, TRUE to fit a smoothing line to the data.

Value

A scatter plot fitted with a smoothing curve.

See Also

loess for locally weighted smoothing.

Examples

1
2
3
4
5
6
# prepare an adjacency matrix
set.seed(3)
data.m <- matrix(rnorm(500), nrow = 100, ncol = 5)

# generate the network
plot_ExpSd(data.m, title = 'examples')

YC3/mirNet documentation built on Sept. 3, 2020, 3:25 a.m.