goSample: generate GO sample with genes

Description Usage Arguments Details Value

Description

To test reproducibility of GO term sampling, we need to be able to sample GO terms and the genes annotated to them, and possibly noise genes as well.

Usage

1
2
  goSample(go2gene, nGO, goLimits, nSample = 2,
    nGene = 1000, nNoise = 0, sharedNoiseFrac = 1)

Arguments

go2gene

list of go terms with associated genes

nGO

the number of go terms. see Details for having different numbers of terms

goLimits

ranges of gene counts to restrict sampling. If multiple use a list

nSample

how many samples of genes do we want

nGene

the number of genes to sample that are annotated to the GO terms

nNoise

the number of noise genes

sharedNoiseFrac

how much of the noisy genes should be shared

Details

nGO and goLimits should be the same length

Value

list


rmflight/ccPaper documentation built on May 27, 2019, 9:31 a.m.