This function fetches the ID/Index of a QuickBLAST instance of a Rcpp::XPtr<QuickBLAST> stored in C++ side.
GetInstanceID(ptr)(unsigned int) ID/Index of the QuickBLAST instance pointer, FALSE otherwise
blastp_inst <- QuickBLAST::CreateQuickBLASTInstance(
seq_type = 1,
strand = 0,
program = "blastp",
save_sequences = FALSE,
save_hsp_sequences = FALSE
)
#> Using blastp Defaults...
QuickBLAST::GetInstanceID(
blastp_inst
)
#> [1] 7