get_random_data: get_random_data

Description Usage Arguments Value

View source: R/random_dataset.R

Description

Get randomized time-series data

Usage

1
2
get_random_data(time_points, conditions, num_total, percent.sign = 0.1,
  equal = TRUE)

Arguments

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.

num_total

The number of total proteins to be generated

percent.sign

Percentage of differentially expressed proteins. Ignored when equal=FALSE.

equal

If equal is TRUE, all the conditions will have numbers between 0 and 1. If it is FALSE, the first three conditions will have different ranges. First condition will have numbers from 0.3 to 0.4. Second condition will have numbers from 0.6 to 0.8. Third condition will have numbers from 0.3 to 0.5. Other conditions will have numbers from 0 to 1.

Value

A list containing ramdomly generated data matrix


XINA documentation built on Nov. 8, 2020, 5:32 p.m.