Skip to content

Commit

Permalink
do not read data from local dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
oganm committed Apr 24, 2019
1 parent a527d6c commit 5a3a7b0
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions process.R
Expand Up @@ -14,13 +14,22 @@ prop = 'ShinyNames'
# expression =
# read.exp('/home/omancarci/wholeOtto/omancarci/brainGenesManuscript/data-raw/Mouse_Cell_Type_Data/n_expressoExpr.csv')

designs = list(GPL339 = read.design('/home/omancarci/wholeOtto/omancarci/brainGenesManuscript/data-raw/Mouse_Cell_Type_Data/n_expressoSamplesWithRNAseq.tsv'),
GPL1261 = read.design('/home/omancarci/wholeOtto/omancarci/brainGenesManuscript/data-raw/Mouse_Cell_Type_Data/n_expressoSamplesWithRNAseq2.tsv'),
RNAseq = read.design('/home/omancarci/wholeOtto/omancarci/brainGenesManuscript/data-raw/Mouse_Cell_Type_Data/meltedSingleCells.tsv'))
ogbox::getGithubFile(githubPath = 'PavlidisLab/neuroExpressoAnalysis/data-raw/Mouse_Cell_Type_Data/n_expressoSamplesWithRNAseq.tsv',downloadPath = 'Data/n_expressoSamplesWithRNAseq.tsv')
ogbox::getGithubFile(githubPath = 'PavlidisLab/neuroExpressoAnalysis/data-raw/Mouse_Cell_Type_Data/n_expressoSamplesWithRNAseq2.tsv',downloadPath = 'Data/n_expressoSamplesWithRNAseq2.tsv')
ogbox::getGithubFile(githubPath = 'PavlidisLab/neuroExpressoAnalysis/data-raw/Mouse_Cell_Type_Data/meltedSingleCells.tsv',downloadPath = 'Data/meltedSingleCells.tsv')

exprs = list(GPL339 = read.exp('/home/omancarci/wholeOtto/omancarci/brainGenesManuscript/data-raw/Mouse_Cell_Type_Data/n_expressoExprWithRNAseq.csv',check.names=FALSE),
GPL1261 = read.exp('/home/omancarci/wholeOtto/omancarci/brainGenesManuscript/data-raw/Mouse_Cell_Type_Data/n_expressoExprWithRNAseq2.csv',check.names=FALSE),
RNAseq = read.exp('/home/omancarci/wholeOtto/omancarci/brainGenesManuscript/data-raw/Mouse_Cell_Type_Data/TasicPrimaryMeanComparable.csv',check.names=FALSE))
ogbox::getGithubFile(githubPath = 'PavlidisLab/neuroExpressoAnalysis/data-raw/Mouse_Cell_Type_Data/n_expressoExprWithRNAseq.csv',downloadPath = 'Data/n_expressoExprWithRNAseq.csv')
ogbox::getGithubFile(githubPath = 'PavlidisLab/neuroExpressoAnalysis/data-raw/Mouse_Cell_Type_Data/n_expressoExprWithRNAseq2.csv',downloadPath = 'Data/n_expressoExprWithRNAseq2.csv')
ogbox::getGithubFile(githubPath = 'PavlidisLab/neuroExpressoAnalysis/data-raw/Mouse_Cell_Type_Data/TasicPrimaryMeanComparable.csv',downloadPath = 'Data/TasicPrimaryMeanComparable.csv')


designs = list(GPL339 = read.design('Data/n_expressoSamplesWithRNAseq.tsv'),
GPL1261 = read.design('Data/n_expressoSamplesWithRNAseq2.tsv'),
RNAseq = read.design('Data/meltedSingleCells.tsv'))

exprs = list(GPL339 = read.exp('Data/n_expressoExprWithRNAseq.csv',check.names=FALSE),
GPL1261 = read.exp('Data/n_expressoExprWithRNAseq2.csv',check.names=FALSE),
RNAseq = read.exp('Data/TasicPrimaryMeanComparable.csv',check.names=FALSE))



Expand Down Expand Up @@ -70,7 +79,9 @@ save(memoReg,regionHierarchy,file = 'memoReg.rda')

# stuff to map tasic data to original source ------

rnaSeqMap = read.design('/home/omancarci/wholeOtto/omancarci/brainGenesManuscript/data-raw/Mouse_Cell_Type_Data/singleCellMatchings.tsv')
ogbox::getGithubFile(githubPath = 'PavlidisLab/neuroExpressoAnalysis/data-raw/Mouse_Cell_Type_Data/singleCellMatchings.tsv',downloadPath = 'Data/singleCellMatchings.tsv')

rnaSeqMap = read.design('Data/singleCellMatchings.tsv')

saveRDS(rnaSeqMap, file = 'Data/rnaSeqMap.rds')

Expand Down

0 comments on commit 5a3a7b0

Please sign in to comment.