nasa / GeneLab_Data_Processing

65 stars 42 forks source link

[Microarray Affymetrix] Legend covers density plot when sample names are long #107

Closed cyouh95 closed 4 weeks ago

cyouh95 commented 3 months ago

Description

Density plots currently scale down legend size depending on number of samples:

https://github.com/nasa/GeneLab_Data_Processing/blob/90d6bb5d6a20d817fa17ac5cb0763d4f8f75966b/Microarray/Affymetrix/Workflow_Documentation/NF_MAAffymetrix/workflow_code/bin/Affymetrix.qmd#L248

But plot may sometimes still be covered by legend when sample names are long.

Solution

Scale legend size down further based on how long sample names are.