MaskData {ADImpute}R Documentation

Masking of entries for performance evaluation

Description

MaskData sets a portion (mask) of the non-zero entries of each row of data to zero

Usage

MaskData(data, write.to.file = FALSE, mask = .1)

Arguments

data

matrix; raw counts (genes as rows and samples as columns)

write.to.file

logical; should the output be written to a file?

mask

numeric; ratio of total non-zero samples to be masked per gene (defaults to .1)

Details

Sets a portion (mask) of the non-zero entries of each row of data to zero. Result is written to filename.

Value

matrix containing masked raw counts (genes as rows and samples as columns)


[Package ADImpute version 1.2.0 Index]