Code Monkey home page Code Monkey logo

tidytcells's People

Contributors

yutanagano avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

tidytcells's Issues

Edge case?

An example of a valid HLA type that would fail to match the regex r'^(HLA-)?([A-Za-z/]+\d??)(*?([\d:]+(G)?(P)?)[LSCAQN]?)?$' is "HLA-DR1*13:01:01". This HLA type is valid because it follows the standard HLA naming conventions, but it would not match the regex because it contains two colons (:) between the digits and the "G" letter, while the regex only allows for one colon. The regex also only allows for one optional letter at the end of the string, but this HLA type has two letters, "G" and "P".

Should standardization functions accept non-string values as valid input?

For a lot of use cases, you want to blanket apply tidytcells' standardization function to columns of a table, with some cells missing values. Currently, the standardize functions expect the first argument to be a string, so being passed Nones or nans triggers an exception. For now, users are expected to handle that themselves, but should there be an option to handle that quietly within tidytcells?

Add ability to specify TR/MH chain when standardising

When applying tr.standardize, one may already know that the gene should be an alpha or beta chain (even if the input string/symbol does not make this clear). Sometimes, this may add crucial information that is the difference between a standardisation success/failure. It would be useful to add the option for the user to specify whether it is an alpha or beta chain they are standardising. (feedback courtesy of @mm523)

More useful warning message for non-functional allele

Currently when a non-functional V or J gene is detected, a warning message appears which is potentially confusing. The current warning states that the attempted fix is with the original allele. Instead one might simply warn the user that the gene is non-functional (but that no fix was done).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.