whether coefficients are non-negative, default TRUE.
intercept
whether intercept is included in model, default TRUE.
Value
y: vector of dependent variable.
x: matrix of predictors with n rows and p columns.
loc: index of added outliers.
beta: vector of coefficients.
References
Yuning Hao, Ming Yan, Blake R. Heath, Yu L. Lei and Yuying Xie. Fast and Robust Deconvolution of Tumor Infiltrating Lymphocyte from Expression Profiles using Least Trimmed Squares. <doi:10.1101/358366>