R | pheatmap: Error in convert_annotations(annotation_col, annotation_colors) : Factor levels on var
>pheatmap(e2,cluster_rows=F,cluster_cols=F,scale="row",+border_color=NA,+gaps_row=cumsum(as.numeric(table(imd[rownames(e2),2]))),+annotation_col=ac,annotation_colors=acs,annotation_row=ar)Errorinconve