Skip to content
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

Remove axis label with NULL in create.boxplot #74

Merged
merged 6 commits into from
May 23, 2023

Conversation

stefaneng
Copy link
Contributor

Description

Make behavior of axis.lab = NULL for create.boxplot consistent with other functions.

Closes #62

Checklist

  • This PR does NOT contain PHI or germline genetic data. A repo may need to be deleted if such data is uploaded. Disclosing PHI is a major problem.
  • This PR does NOT contain molecular files, compressed files, output files such as images (e.g. .png, .jpeg), .pdf, .RData, .xlsx, .doc, .ppt, or other non-plain-text files. To automatically exclude such files using a .gitignore file, see here for example.
  • I have read the code review guidelines and the code review best practice on GitHub check-list.
  • I have set up or verified the main branch protection rule following the github standards before opening this pull request.
  • The name of the branch is meaningful and well formatted following the standards, using [AD_username (or 5 letters of AD if AD is too long)]-[brief_description_of_branch].
  • I have added the major changes included in this pull request to the CHANGELOG.md under the next release version or unreleased, and updated the date.

Example

library(BoutrosLab.plotting.general, quietly = T, warn.conflicts = F);
set.seed(10);
simple.data <- data.frame(
    x = rnorm(100),
    y = sample(1:5, replace = T, size = 100)
    );

create.boxplot(
    formula = y ~ x,
    data = simple.data,
    yaxis.lab = NULL
    );

create.boxplot(
    formula = y ~ x,
    data = simple.data,
    xaxis.lab = NULL
    );

Created on 2023-01-09 with reprex v2.0.2

@stefaneng stefaneng requested review from dan-knight and a team as code owners January 9, 2023 18:02
@stefaneng stefaneng changed the title Remove axis label with NULL Remove axis label with NULL in create.boxplot Jan 9, 2023
@dan-knight dan-knight merged commit 3d4157f into main May 23, 2023
@dan-knight dan-knight deleted the stefaneng-yaxis-null-lab-62 branch May 23, 2023 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create.barplot yaxis.lab does not work when NULL
2 participants