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

availability Baker dataset #40

Open
guidohooiveld opened this issue Dec 3, 2024 · 3 comments
Open

availability Baker dataset #40

guidohooiveld opened this issue Dec 3, 2024 · 3 comments

Comments

@guidohooiveld
Copy link

Hi,
I am exploring your wonderful package, and to check whether the format of input data is OK, I would like to run / compare it with the Baker dataset mentioned in Chapter 5.1 of the online documentation (file: uro.deseq.res.rda).
https://noriakis.github.io/software/ggkegg/usecases.html#visualizing-numerical-attributes-from-deseq2

Could you tell me where I can find this file?

Thanks!

@noriakis
Copy link
Owner

noriakis commented Dec 26, 2024 via email

@guidohooiveld
Copy link
Author

Thanks for providing the file!

Yet, using it i run into an error when running the code of Chapter 5.1 (when assigning the values to the nodes).
Any suggestions?

Thanks again!

> library(ggkegg)
> library(DESeq2)
> library(org.Hs.eg.db)
> library(dplyr)
> 
> load("uro.deseq.res.rda") 
> res
class: DESeqDataSet 
dim: 29744 26 
metadata(1): version
assays(8): counts avgTxLength ... replaceCounts replaceCooks
rownames(29744): A1BG A1BG-AS1 ... ZZEF1 ZZZ3
rowData names(27): baseMean baseVar ... maxCooks replace
colnames(26): SRR14509882 SRR14509883 ... SRR14509906 SRR14509907
colData names(27): Assay.Type AvgSpotLen ... viral_infection
  replaceable
> 
> vinf <- results(res, contrast=c("viral_infection","BKPyV (Dunlop) MOI=1","No infection"))
> 
> ## LFC
> g <- pathway("hsa04110") |> mutate(deseq2=assign_deseq2(vinf),
+                                    padj=assign_deseq2(vinf, column="padj"),
+                                    converted_name=convert_id("hsa"))
Error in `mutate()`:
ℹ In argument: `deseq2 = assign_deseq2(vinf)`.
Caused by error in `assign_deseq2()`:
! Please specify Annotation DB to org_db.
Run `rlang::last_trace()` to see where the error occurred.
> 
> ## specifying org_db reults in another error...
> g <- pathway("hsa04110") |> mutate(deseq2=assign_deseq2(vinf, org_db=org.Hs.eg.db),
+                                    padj=assign_deseq2(vinf, column="padj"),
+                                    converted_name=convert_id("hsa"))
Error in `mutate()`:
ℹ In argument: `deseq2 = assign_deseq2(vinf, org_db = org.Hs.eg.db)`.
Caused by error in `AnnotationDbi::mapIds()`:
! argument "column" is missing, with no default
Run `rlang::last_trace()` to see where the error occurred.
> 
>
> packageVersion("ggkegg")
[1] ‘1.4.0’
> 

@noriakis
Copy link
Owner

noriakis commented Jan 29, 2025 via email

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

No branches or pull requests

2 participants