generate: A function to generate the synthetic data

Description Usage Arguments

View source: R/gen.R View source: R/generate.R

Description

A function to generate the synthetic data

A function to generate the synthetic data

Usage

1
2
3
generate(K, N, d, sp, type)

generate(K, N, d, sp, type)

Arguments

K

number of componenet in the synthetic data

N

number of samples in the synthetic sample-taxa count matrix

d

number of taxa in the synthetic sample-taxa count matrix

sp

sparsity level. value between 0 and 1.

type

"orig" original count data, "samp" sampled data , "TMM" after TMM normalization

K

number of componenet in the synthetic data

N

number of samples in the synthetic sample-taxa count matrix

d

number of taxa in the synthetic sample-taxa count matrix

sp

sparsity level. value between 0 and 1.

type

"orig" original count data, "samp" sampled data , "TMM" after TMM normalization


sahatava/MicNet documentation built on Nov. 5, 2019, 5:12 a.m.