generate_single_moclust: Generate simulated data

Description Usage Arguments Details Value See Also

Description

Generate simulated data as in 10.1021/acs.jproteome.5b00824 (DOI).

Usage

1
2
generate_single_moclust(X, partition, sd_signal = 0.5, sparse = FALSE,
  percent_sparsity = 0.3)

Arguments

X

A feature matrix, rows are patients, columns are features.

partition

A partition of the samples.

sd_signal

The standard deviation of the signal in each cluster.

sparse

logical, to create sparsity in singular vector of Xsim.

percent_sparsity

Percentage of sparsity in singular vector of Xsim.

Details

Considering a partition of the samples, the data will be modified to have a structure corresponding to this partition.

Value

A simulated structured matrix

See Also

DOI: 10.1021/acs.jproteome.5b00824


agapow/subtypr documentation built on May 5, 2019, 1:33 a.m.