GithubHelp home page GithubHelp logo

Comments (3)

frazzette avatar frazzette commented on July 19, 2024

@lucas-bishop Check how R is interpretting your "all_contig_anotations.csv" file, specifically the "productive" column. The formula for prep.vdj, F0039.R, includes a subset on line 22 that only keeps data if the value in the "productive" column is "True". However, when I investigated my "all_contig_anotations.csv" in RStudio, I found it was importing values in that columns as "true", "false" - the case of the first letter wasn't matching. So prep.vdj was subseting out all my data because technically R reads "True" as not equal to "true".

If that's your issue, this code worked for me

my.vdj$productive[my.vdj$productive == "true"] <- "True"
My.VDJ <- prep.vdj(my.vdj)

from icellr.

lucas-bishop avatar lucas-bishop commented on July 19, 2024

@frazzette If I recall correctly I think I hacked together some code to coerce the "productive" column - similar to what you've done here. Thank you for the suggestion!

from icellr.

rezakj avatar rezakj commented on July 19, 2024

Hi guys,

I am a bit busy but soon will look into this. But for now, I think it's important to know that the vdj analysis is mostly about plotting the clonotypes to spot them in UMAP, tSNE or KNetL. You can do this manually (outside of iCellR) too. Get the X and Y axes from the UMAP (in the umap.data slot) and plot the cells of interest in red and rest of the cells in gray for any clonotype. Hope this helps for now but once I have more time I will fix those functions and look into them.

Reza

from icellr.

Related Issues (20)

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.