Train XGBoost model to predict cell type
Input_training(
summary_results,
cell_type_label,
number_patterns = 1000,
cross_validation = FALSE,
xgb_parameters = list()
)the xgb model trained
a wide cell by pattern matrix generated from GenerateInput function
a vector of the corresponding cell type label for each row of the summary results
a numeric value to indicate number of patterns to be used (Default: 1000)
a boolean varaible whether to perform cross_validation to obtain the best hyper parameters for the model
an optional list for xgb model parameters provided by the user