preparePermutations: Function to prepare permutation and subsamples

Description Usage Arguments Value Author(s)

Description

Function prepares permutations of class labels and subsamples from expression data

Usage

1
preparePermutations(id, B, sample.ratio = 0.8)

Arguments

id

Binary vector (0's and 1's) of class labels to be permuted and subsampled

B

number of premutations

sample.ratio

ratio for subsampling, default 0.8 means 80% of samples from each group is selected

Value

A list

yperm

Permutation - vectors of 0's and 1's shuffeled

ysubs

Subsamples - numeric vectors indicating which samples should be selected

Author(s)

Ivana Ihnatova, Claudio Lottaz


MAMA documentation built on Jan. 15, 2017, 3:05 p.m.