Thank you, Jean-Karim Heriche, for your kind and useful information.
Just one more question, I ran the basis(result) and coef(result), and they gave me two matrices consisting of the values for genes and samples for clustering. Should I pick the largest value for each sample to determine the right cluster it belongs to?