powered by
WeightFunction(object, name)
dgCMatrix
WeightFunction
function
weightCutBin <- WeightFunction(function(m, cutoff) as(m > cutoff, "dgCMatrix"), "binary with cutoff")
Run the code above in your browser using DataLab