Skip to content

Commit

Permalink
Merge pull request #24 from pasmopy/value-transformation
Browse files Browse the repository at this point in the history
Fix arguments in `value_transformation`
  • Loading branch information
Hiroaki Imoto committed Nov 25, 2021
2 parents bfff564 + d33a43e commit 7500183
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions transcriptomic_data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,19 @@ COAD_TPM <- fread("TPM_RLE_postComBat_COAD_BREAST.csv")
gene <- scan(gene.txt, what="character")
cellline <- c("MCF7_BREAST", "BT474_BREAST", "SKBR3_BREAST", "MDAMB231_BREAST")
value_transformation(upstream = BRCA_TPM,
origin = COAD_TPM,
value_transformation(origin = BRCA_TPM,
upstream = COAD_TPM,
gene = gene,
cellline = cellline,
outputfile = "TPM_RLE_postComBat_COAD_BREAST.csv")
```
**Parameters**:
- `upstream`:
- `origin`:
Gene expression data used for parameter estimation.
- `origin`:
- `upstream`:
Gene expression data for the samples for which you want to predict dynamics using the parameters estimated by `optimizeddata`.
- `gene`:
Expand Down
6 changes: 3 additions & 3 deletions transcriptomic_data/value_transformation.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

#value_transformation

value_transformation <- function(upstream, origin, gene, cellline, outputfile){
optimizeddata_genelist <- upstream[upstream$Description %in% genelist,]
newdata_genelist <- origin[origin$Description %in% genelist,]
value_transformation <- function(origin, upstream, gene, cellline, outputfile){
optimizeddata_genelist <- origin[origin$Description %in% genelist,]
newdata_genelist <- upstream[upstream$Description %in% genelist,]

newdata_converted <- c()
for(i in 1:length(gene)){
Expand Down

0 comments on commit 7500183

Please sign in to comment.