Learn R Programming

MSbox (version 1.4.6)

viewTIC: View TIC

Description

View variations of TIC among samples

Usage

viewTIC(
  x,
  Seq = NULL,
  Batch = NULL,
  Group = NULL,
  Trans = "none",
  resultBy = "Group"
)

Value

a box plot

Arguments

x

sample ion intensity matrix,row sample, column feature.

Seq

sample sequence with each batch. If missing, the Seq will be automatically assigned according to sample order

Batch

sample batch information. If missing, all the samples will be considered from the same batch

Group

sample group information

Trans

How should data be transformed, "LOG2", "LOG10", or NULL transformation?

resultBy

show the result by Batch or by Group (default).

Examples

Run this code
dat <- matrix(runif(100*9), ncol = 100, nrow = 27)
myGroup <- rep_len(LETTERS[1:3], 27)
myBatch <- rep(1:3, each = 9, times = 1)
mySeq <- c(1:27)
out <- viewTIC(dat, Group = myGroup, Batch = myBatch, resultBy = "Batch")

Run the code above in your browser using DataLab