New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

awkward legend position 'left' #7

Closed
MarcinKosinski opened this Issue Feb 15, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@MarcinKosinski
Contributor

MarcinKosinski commented Feb 15, 2016

Have you noticed the awkward behavior of legend = 'left' ?

# install_github('RTCGA/RTCGA')
# install_github('RTCGA/RTCGA.clinical')
library(RTCGA) # survivalTCGA is github only function
library(RTCGA.clinical)
library(survminer)
library(survival)


survivalTCGA(BRCA.clinical, OV.clinical, 
             extract.cols = "admin.disease_code") -> BRCAOV.survInfo

fit <- survfit(Surv(times, patient.vital_status)~admin.disease_code,
               data = BRCAOV.survInfo)


# Customize the output and then print
#++++++++++++++++++++++++++++++++++++
ggsurvplot(fit, pval = TRUE, conf.int = TRUE, main = 'left',
           risk.table = TRUE, legend = "left" )

legend_left

@kassambara

This comment has been minimized.

Show comment
Hide comment
@kassambara

kassambara Feb 16, 2016

Owner

Bug fixed: Plot width is no longer too small when legend position = "left"
Thank you,
A. Kassambara

Owner

kassambara commented Feb 16, 2016

Bug fixed: Plot width is no longer too small when legend position = "left"
Thank you,
A. Kassambara

@MarcinKosinski

This comment has been minimized.

Show comment
Hide comment
@MarcinKosinski

MarcinKosinski Feb 16, 2016

Contributor

Thanks. You can always provide a link to cimmit, when announcing fix :)

Contributor

MarcinKosinski commented Feb 16, 2016

Thanks. You can always provide a link to cimmit, when announcing fix :)

kassambara pushed a commit that referenced this issue Dec 5, 2016

Merge pull request #7 from kassambara/master
Merge fork:MarcinKosinski with master

kassambara pushed a commit that referenced this issue Feb 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment