MaskData: Masking of entries for performance evaluation

Description Usage Arguments Details Value

View source: R/GenewiseMethod.R

Description

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

Usage

1
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)


beyergroup/ADImpute documentation built on Dec. 19, 2021, 8:48 a.m.