Hi guys
I just can not figure out how to use the selectLab option in the biplot of PCAtools.
I tried creating a logical vector (withF for every sample I don't want to have a lab for) as well as a vector with all the sample_ids that should have a label. But nothing works nd I can't wrap my head around how to make it work.

Thanks a lot for any comments!
Sebastian 
[ATpoint][1] and [Kevin Blighe][2] brought the solution!

selectLab expects a character vector with the exact labels we are handing to lab, not the corresponding row names.
If your metadata are factors, labs need as.character(), otherwise it prints the factor levels only.

    biplot(data_PCA, 
           colby = "date_processed", 
           legendPosition = "bottom", 
           lab = as.character(data_PCA$metadata$genotype), 
           selectLab = c("Genotype1", "Genotype2"), #select here from $metadata$genotype!
           pointSize = 6,
           title = "PCA title",
           caption = 'There is a clear seperation by date_processed')


Thanks a bunch guys, without you I couldn't have solved this!


  [1]: https://www.biostars.org/u/25721/
  [2]: https://www.biostars.org/u/41557/