powered by
Normlaize Count Matrix
scaleCountMatrix(obj, mat, cov, method)
A snap object
Matrix to be normalized c("gmat", "bmat", "pmat")
A numeric array as cell coverage to normalize the count matrix
Method to normalize the matrix c("logRPM", "RPM", "log")
# NOT RUN { data(demo.sp) scaleCountMatrix( obj=demo.sp, mat="gmat", cov=rowSums(demo.sp, mat="bmat"), method="RPM" ); # }
Run the code above in your browser using DataLab