[BioC] Clusplot - changing cluster labels

Peterson, Leif LEPeterson at houstonmethodist.org
Thu Jan 23 19:02:20 CET 2014


There does not seem to be an option for changing the text used for cluster labels, so is there a workaround?

I can change the dimnames of the centers (see below), but they don't appear in the graphic (only 1,2,3,4 appear).

dimnames(fit$centers)[[1]] <- c("ER", "HER2","LUMA","LUMB")
> dimnames(fit$centers)
[[1]]
[1] "ER"   "HER2" "LUMA" "LUMB"

[[2]]
NULL

Houston Methodist. Leading Medicine.

Ranked by U.S.News & World Report as one of America's "Best Hospitals" in 13 specialties. Named to FORTUNE® Magazine's "100 Best Companies to Work For®" list nine years in a row. Designated as a Magnet hospital for excellence in nursing. Visit us at houstonmethodist.org. Follow us at twitter.com/MethodistHosp and www.facebook.com/HoustonMethodist.

***CONFIDENTIALITY NOTICE*** This e-mail is the property of Houston Methodist Hospital and/or its relevant affiliates and may contain restricted and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender and delete all copies of the message. Thank you.



More information about the Bioconductor mailing list