add_sample(matrix, sample.id, x);
the sparse matrix object. [as UnionMatrix]
the row name, unique sample id. [as string]
the sample data, should be in format of [feature_name=>value] key-value tuple list. [as list]