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

Following clonotypes between samples #428

Closed
ASNbioinf opened this issue Oct 25, 2024 · 6 comments
Closed

Following clonotypes between samples #428

ASNbioinf opened this issue Oct 25, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@ASNbioinf
Copy link

I have a similar problem to #40. I have T cells that I clustered. There are clones shared between samples that belong to the same patient. I used clonalCompare() to show the proportion of each clone within the specified samples. Is there a function that allows me to plot the frequency of each clone within the specified samples instead of proportion? I mean, I like this plot, but I want to put the frequency in the y-axis.

@Qile0317
Copy link
Collaborator

@ncborcherding I don't believe there is an option to do this yet but the change should be pretty trivial - I can whip up a PR for this.

@ncborcherding
Copy link
Owner

@Qile0317,

That would be awesome if you can include it in the work you are doing. I think having an option to plot frequency or proportion in clonalCompare() would be perfect and then users could use exportTable for either.

Nick

@Qile0317
Copy link
Collaborator

@ncborcherding Just to make sure - are the proportions strictly supposed to be (Frequency of all clones) / (number of clones)? Trying to figure out if my code is incorrect or (probably not) the entire function has been doing faulty computations this whole time.

@ASNbioinf
Copy link
Author

Proportion = count of clone / total clones in sample

@ncborcherding
Copy link
Owner

@Qile0317 Proportion = frequency of individual clone / total number of sequences in a sample.

@ncborcherding
Copy link
Owner

Fix is up in the dev version, we will do some more testing and it will be in the main branch soon. I'm going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants