| MaskData {ADImpute} | R Documentation |
MaskData sets a portion (mask) of the non-zero
entries of each row of data to zero
MaskData(data, write.to.file = FALSE, mask = .1)
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) |
Sets a portion (mask) of the non-zero entries of each row of
data to zero. Result is written to filename.
matrix containing masked raw counts (genes as rows and samples as columns)