-
Notifications
You must be signed in to change notification settings - Fork 43
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
Pick one lineage from many for conditiontest #241
Comments
Hi Tolga, There are a few ways you can tell which lineage is which. Assuming you have a PseudotimeOrdering object ( Alternatively, you can plot the different lineages in different colors. So And when you call Best, |
Hi @kstreet13, thanks for this awesome hint! Best, |
Ah, that makes sense. I'm not sure if there's a way to do that (it's more of a tradeSeq question, so you might have more luck asking it on that repo). I know that subsetting down to just the clusters from a particular lineage shouldn't work, because you won't get the same trajectory that you would if you had included all the cells. But there might be a way to fit the full trajectory, then construct an artificial PseudotimeOrdering object with only the lineage of interest, where you still have all the cells, but many of them have weights of 0. Running fitGAM on that might be faster, depending on how it handles the 0 weights. There might also be problems with cells that are assigned small weights, as we generally assume that for a given cell, the weights across all possible lineages sum to 1. |
I think it would be a nice feature to have if we could subset the slingshot object to remove unwanted lineages. Sometimes we are just interested in one or 2 lineages, and removing unwanted lineages would speed up downstream steps. |
Hi @kstreet13,
After using slingshot I get 5 different lineages. My dataset is integrated between two conditions. And I am interested in the genes that differ between those 2 conditions for a specific lineage (Not all lineages). How Do I know which lineage is which? How can I pick this one specific lineage ? How can I run conditiontest with only this specific lineage?
I would really appreciate any help!
thanks!
Best,
Tolga
The text was updated successfully, but these errors were encountered: