-
Notifications
You must be signed in to change notification settings - Fork 113
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
Mabye a bug in TCGAanalyze_SurvivalKM #615
Comments
Hi, |
Hi, |
hi, I just encountered similar problem. I used the commpass data and mRNA-seq for KM analysis. At first, the code was like: Then I change the Sadly, I can't figure out how it come, could you please give me some advice? |
Then I changed the But the error still remains.... |
I encountered the same error, due in my case it's due to the fact the the bcr_patient_barcode is a sequence of more than 12 characters but the TCGAanalyze_SurvivalKM tries to merge the clinical barcode with only the first 12 characters of the expression matrix colnames
thus creating an empty cfu object and failing downstream to filter as it has 0 rows |
Hello, I recently tried to use the function TCGAanalyze_SurvivalKM however, i have the same problem that you encountered. First, i tried to convert the dataGE into a dataframe, but i had en error signaling that i had duplicates. I removed the duplicates in the dataCancer (from the code source) and retried with the same modifications that you brought. When running the source code, it didn't work. It said that no Threshtop was defined. Any wonder what i can do to fix this? Thanks in advance for your reply. |
hi,
1. When I follow your tutorial Case study n. 1: Pan Cancer downstream analysis BRCA, error raised in:
no applicable method for 'filter' applied to an object of class "c('matrix', 'array', 'double', 'numeric')"
2. I change parameter
dataGE=dataFilt
todataGE = as.data.frame(dataFilt)
, it said failed to filter with same columns.On closer inspection, I find duplicated sample in download BRCA expression data. After deduplicated, all thing go OK with this
However, dataSurv result is empty.
**3. ** Carefully read the source code, I replace this code
mRNAselected_values <- dataCancer %>% dplyr::filter(rownames(dataCancer) == mRNAselected) %>% as.numeric mRNAselected_values_normal <- dataNormal %>% dplyr::filter(rownames(dataNormal) == mRNAselected) %>% as.numeric
with
mRNAselected_values <- as.data.frame(dataCancer) %>% dplyr::filter(rownames(dataCancer) == mRNAselected) %>% unlist() mRNAselected_values_normal <- as.data.frame(dataNormal) %>% dplyr::filter(rownames(dataNormal) == mRNAselected) %>% unlist()
After this, it workd!
Thanks a lot for your outstanding work.
The text was updated successfully, but these errors were encountered: