data.create {BHTSpack}R Documentation

Create Synthetic Data

Description

This function generates synthetic compound data.

Usage

data.create(N, nr, nc, M, p, s=NULL, covrow=NULL, covcol=NULL, c=0.0001, mat=FALSE)

Arguments

N

Number of compounds per plate.

nr

Number of plate rows.

nc

Number of plate columns.

M

Number of plates.

p

Probability of a compound being a hit.

s

Random seed (for reproducibility perposes). Default is NULL.

covrow

Noise plate row-covariance matrix. Default is NULL.

covcol

Noise plate column-covariance matrix. Default is NULL.

c

Constant for scaling plate noise. Default is 0.0001.

mat

Specifies a matrix (TRUE) or a vector (FALSE) plate format. Default is FALSE.

Value

This function returns a list consisting of the following elements:

Z

A list of matrices (mat=TRUE) or vectors (mat=FALSE) of compounds.

B

A list of compound indicators specifying a hit (1) or a non-hit (0).

I

A list of compound indicators specifying the muxture component (from 1 to K).

Examples

 #See package vignette

[Package BHTSpack version 0.6 Index]