HelenaLC / CATALYST

Cytometry dATa anALYsis Tools
66 stars 31 forks source link

NRS scores - extract values? #402

Closed alb16626 closed 2 months ago

alb16626 commented 2 months ago

Hello,

Thank you so much for developing this package. I'm using the plotNRS function to select the best markers to retain when designing a smaller panel for a different instrument. I'm wondering if there is a way to extract the NRS scores into a data frame so I can display this information in table format rather than a plot. Thanks!

HelenaLC commented 2 months ago

Sure! You can extract the data underlying any ggplot using

p <- ggplot() df <- p$data

alb16626 commented 2 months ago

Amazing, thank you so much!