Skip to content

Commit

Permalink
Update: Fix incorrect parameter name in accessor call for subsetTo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherEeles committed Apr 22, 2020
1 parent ce8c33f commit e0175ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,7 +1,7 @@
Package: ToxicoGx
Type: Package
Title: Analysis of Large-Scale Toxico-Genomic Data
Version: 0.99.7
Version: 0.99.8
Date: 2020-04-03
Authors@R: c(
person("Sisira","Nair", email = "sisira.nair@uhnresearch.ca",
Expand Down
6 changes: 3 additions & 3 deletions R/ToxicoSet.R
Expand Up @@ -1603,9 +1603,9 @@ subsetTo <- function(object, cell_lines = NULL,
#####
drugInfo(object) <- drugInfo(object)[drugs , , drop=drop]
cellInfo(object) <- cellInfo(object)[cell_lines , , drop=drop]
curation(object)$drug <- curation(tSet)$drug[drugs , , drop=drop]
curation(tSet)$cell <- curation(tSet)$cell[cell_lines , , drop=drop]
curation(tSet)$tissue <- curation(tSet)$tissue[cell_lines , , drop=drop]
curation(object)$drug <- curation(object)$drug[drugs , , drop=drop]
curation(object)$cell <- curation(object)$cell[cell_lines , , drop=drop]
curation(object)$tissue <- curation(object)$tissue[cell_lines , , drop=drop]
return(object)
}

Expand Down
2 changes: 1 addition & 1 deletion vignettes/toxicoGxCaseStudies.Rmd
Expand Up @@ -75,7 +75,7 @@ by linking in vivo human hepatocarcinoma (HCC) signature geneset with in vitro T
The HCC signature, already mapped to the gene level, has been included in this package and it can be loaded by calling data(HCC_sig). Once the dataset is loaded, recreate drug signatures for each drug using the function drugPerturbationSig to peform statistical modelling of the transcriptomic response to the application of each drug. We then compare the observed up-regulated and down-regulated genes to HCC signature published in the paper. The output will be the GSEA connectivity score with FDR values that can be used to determine the correlation between the two signatures.


```{r, results = 'asis'}
```{r, results = 'asis', warnings=FALSE}
library(xtable)
data("TGGATESsmall")
# To compute the effect of drug concentration on the molecular profile of the cell
Expand Down

0 comments on commit e0175ae

Please sign in to comment.