Adding gene annotation to CNAmatrix + p and q information
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 20/100
Research direction
Start with the documentation's Step 5 and the reported CNAmatrix, full.anno, tumor.cells, and tumor.matrix objects. Reproduce the row-count and identifier mismatches before investigating the requested gene annotation and p/q chromosome plotting. Done means the three questions have documented, reproducible guidance or a clearly scoped implementation path.
Written by the indexing model from the issue text.
Description
Hello, thanks for this tool.
I have a couple of questions and I would appreciate some guidance on how to move forward.
(1) I ran one sample in CopyKat. The output CNAmatrix looks something like this:
I have been trying to add gene symbols to the matrix, in order to plot some relevant genes. However, I haven't been able to do that. I am using full.anno (annotation table supplemented by the package).
I first tried to do cbind(CNA.test, full.anno), but I get the following error:
Error in data.frame(..., check.names = FALSE) :
arguments imply differing number of rows: 12167, 56051
So I tried to subset the full.anno matrix to only have the abspos valuess found in my CNA.test matrix. I tried it in different ways and none worked (i get an empty matrix):
I then extracted one of the abspos of the CNA.test, and looked for it in full.anno matrix and I couldn't find it. So it seems like I am unable to match full.anno$abspos with CNA.test$abspos. Is there a way around this? Am I missing a step?
(2) I am following the downstream analysis for tumor cells clustering as shared in the documentation (Step 5: define subpopulations of aneuploid tumor cells). I am able to subset tumor cell names (tumor.cells, length(tumor.cells) is 6992). My issue is that when I subset for the tumor.matrix, I only get 8 cells instead of my original 6992 cells. Can you please help me through this?
(3) Is there a way I can add q and p information to the plot? Split each chromosome panel to either p or q. If not, what are ways you suggest I can quantify those copy number alterations, especially in single-cell?
Your help would be greatly appreciated.
Best,
Raghad
- Dominant language
- R
- Stars
- 305
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from navinlabcode/copykat
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
navinlabcode/copykat#141 · 1 comment ·
-
License discrepency Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
navinlabcode/copykat#140 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
navinlabcode/copykat#138 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
navinlabcode/copykat#137 ·
-
InferCNA plot logic Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
navinlabcode/copykat#136 ·
All issues in navinlabcode/copykat
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enviPathR OpenBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Bioconductor/BiocContributions#207 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
datacarpentry/semester-biology#1255 ·