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