make_random_xina_data {XINA} | R Documentation |
Generate random proteomics dataset for testing XINA 'make_random_xina_data' will make random proteomics data for XINA test. The generated data will have three conditions and seven time points, c("0hr", "2hr", "6hr", "12hr", "24hr", "48hr", "72hr").
make_random_xina_data(n = 500, mtor = TRUE, time_points = c("0hr", "2hr", "6hr", "12hr", "24hr", "48hr", "72hr"), conditions = c("Control", "Stimulus1", "Stimulus2"))
n |
The number of proteins for one condition. Default is 500. |
mtor |
If it is TRUE (default), mTOR pathway genes will be significant. If it is FALSE, randomly selected genes will be significant in first three conditions. |
time_points |
A vector containing time points of the data matrix |
conditions |
A vector containing condition information, for example normal, disease and drug treated disase. |
Three comma-separated files containing time-series data for XINA
make_random_xina_data() g1 <- read.csv("Control.csv", check.names=FALSE, stringsAsFactors = FALSE) g2 <- read.csv("Stimulus1.csv", check.names=FALSE, stringsAsFactors = FALSE) g3 <- read.csv("Stimulus2.csv", check.names=FALSE, stringsAsFactors = FALSE) head(g1) head(g2) head(g3)