kevinblighe / PCAtools

PCAtools: everything Principal Components Analysis
329 stars 67 forks source link

FeatureRequest: continous color scale legend for `biplot` #72

Open wbvguo opened 9 months ago

wbvguo commented 9 months ago

Dear PCAtools developer,

thanks for maintaining this tool. I tried to assign a continuous variable to augment colby in function biplot, however, it looks like the color legend is discretized. May I ask if we could support a continuous color scale legend?

biplot(pcaobj, x = "PC4", y = "PC1", colby = "Age", lab = NULL, legendPosition = 'top')

image

Thanks!