st.write(f' - The total number of samples: {tcr.shape[0]}.\n- The number of selected samples for chemical analysis: {sam1.shape[0]}.')
st.write(f' - The total number of samples: {tcr.shape[0]}.\n- The number of selected samples for chemical analysis: {sam1.shape[0]} - {round(sam1.shape[0]/tcr.shape[0]*100,1)}%.')
sam=sam1
ifclus_method==cluster_methods[2]:
unclus=st.checkbox("Include non clustered samples (for HDBSCAN clustering)",value=True)
...
...
@@ -251,7 +251,7 @@ if labels:
sam=pd.concat([sam1,sam2],axis=0)
sam.index=np.arange(sam.shape[0])+1
st.write(f' The number of Non-clustered samples is {sam2.shape[0]} samples')
st.write(f' The number of Non-clustered samples is {sam2.shape[0]} samples. Total selected samples: {sam1.shape[0]+sam2.shape[0]} - {round((sam1.shape[0]+sam2.shape[0])/tcr.shape[0]*100,1)}%.')