Learn R Programming

quantable (version 0.3.6)

plotOneSideVolcano: Plot and filter data coming from one sample single sided t-test

Description

Plot and filter data coming from one sample single sided t-test

Usage

plotOneSideVolcano(data, p.thresh = 0.05, fc.thresh = 2, main = "")

Arguments

data

- matrix generated by onesamplegreaterT

p.thresh

- p value to filter with, default 0.05

fc.thresh

- fold change threshold to filter with, default 2

main

- main title of plot

Examples

Run this code
# NOT RUN {
data <- matrix(rnorm(100,1,1), ncol=5)
dim(data)
rownames(data) <- 1:20
resM <- onesamplegreaterT(data)
plotOneSideVolcano(resM)
data <- matrix(rnorm(100,2,1), ncol=5)
dim(data)
rownames(data) <- 1:20
resM <- onesamplegreaterT(data)
plotOneSideVolcano(resM)
# }

Run the code above in your browser using DataLab