Skip to content

Commit

Permalink
version 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaibeka authored and cran-robot committed Jan 8, 2016
1 parent 791d178 commit 4e4f1e9
Show file tree
Hide file tree
Showing 86 changed files with 1,178 additions and 847 deletions.
13 changes: 8 additions & 5 deletions DESCRIPTION
@@ -1,8 +1,8 @@
Package: PharmacoGx
Type: Package
Title: Analysis of Large-Scale Pharmacogenomic Data
Version: 1.1.2
Date: 2015-11-13
Version: 1.1.4
Date: 2016-01-07
Author: Petr Smirnov, Zhaleh Safikhani, Benjamin Haibe-Kains
Maintainer: Benjamin Haibe-Kains <benjamin.haibe.kains@utoronto.ca>
Description: Contains a set of functions to perform large-scale analysis of pharmacogenomic data.
Expand All @@ -11,8 +11,11 @@ Suggests: xtable
Encoding: UTF-8
Imports: Biobase, piano, magicaxis, RColorBrewer, parallel, caTools,
methods, downloader, stats, utils, graphics, grDevices
Depends: R (>= 2.10)
Depends: R (>= 3.2)
RoxygenNote: 5.0.1
biocViews: GeneExpression, Pharmacogenetics, Pharmacogenomics, Software
BugReports: https://github.com/bhklab/PharmacoGx/issues
NeedsCompilation: no
Packaged: 2015-11-14 18:15:28 UTC; bhaibeka
Packaged: 2016-01-08 03:20:24 UTC; bhaibeka
Repository: CRAN
Date/Publication: 2015-11-15 10:08:46
Date/Publication: 2016-01-08 08:49:25
170 changes: 85 additions & 85 deletions MD5
@@ -1,106 +1,106 @@
468d9b492b0f75714e6f7c392b91f701 *DESCRIPTION
1bd597a4713609793a7c321c1c4f97c6 *NAMESPACE
4ba01e7c2d015b45f2a13b080103922c *R/GWC.R
b0a18cff2ece56d6355de297cc3e9b22 *R/LogLogisticRegression.R
d7b04169a28b6afceaac4e69367a245a *R/PharmacoSetClass.R
e92a9908d0dd44a06c61e1b35f7b485d *DESCRIPTION
bd6c7494d93a3b0afa38d518879670a0 *NAMESPACE
21fba3bc14ef23dcb97d640f1d59444a *R/GWC.R
36f870eff0aefe1fc82a3d6397eeed0b *R/LogLogisticRegression.R
dafc3f6fc1446a572f1d2aeb17bb9cf5 *R/PharmacoSetClass.R
7fc5311088e26947fd7f796d68920596 *R/callingWaterfall.R
e496092258e962d83be708d422f5febd *R/combineTest.R
92182218f6be9ace772c7358c6c9ce11 *R/computeAUC.R
30d9f0646236499db7f4a493a7a3bbcc *R/computeDrugSensitivity.R
212edfd43a7821452141d59d876b821c *R/computeIC50.R
704fea6b6e3d2db306e4106a194a85dd *R/connectivityScore.R
8a79cbad14a50cd227c530e87fed6208 *R/corWeighted.R
2de88f0d96792f6f10113e72ea26871b *R/combineTest.R
a3302d91aa1eaa2292c500cf28c1fe25 *R/computeAUC.R
0592eb19e99d98c9af31649dc780a7bf *R/computeDrugSensitivity.R
9500a5adc669160350e32cf4040c8e0d *R/computeIC50.R
fe757c878abe46edc027f230b92b786e *R/connectivityScore.R
f340171ff08c620039716b3d429e7945 *R/corWeighted.R
ca7678f1bc85d22ab5ee29a2451b7275 *R/datasets.R
762d5b92d0c984c4c452b236d35c8413 *R/distancePointLine.R
78db11f22fa6d6c63faf358ecc594b87 *R/distancePointSegment.R
afda89dc0e4155a18342f0cf40e7ed4d *R/downloadPSet.R
e85336078ca805befc4a9124728184d9 *R/downloadSignatures.R
12a5f782a99c648175acdf8ca2b36b04 *R/drugDoseResponseCurve.R
a707f6fd9a322ec7fc7dfe8ec298ae19 *R/drugPerturbationSig.R
ad956833d4796c078934c795cb7f1e6d *R/drugSensitivitySig.R
c3ce0daf64ce4be7f5b598ee43be14ec *R/geneDrugPerturbation.R
9a2028d825e99a3501b5fe2f72c1231d *R/downloadPSet.R
192d6e6664cd01a14e771a206ab66433 *R/downloadSignatures.R
5e42407b9c24065403887a5a7b755c03 *R/drugDoseResponseCurve.R
ab19f171d4b0576453c4918c4468ab9f *R/drugPerturbationSig.R
bb16d9c46b3e6b8371afc46814417b2d *R/drugSensitivitySig.R
f0b0649a538d904112b224c7265f4a38 *R/geneDrugPerturbation.R
17d2bb22e1160a44d736d7e70d5a27c3 *R/geneDrugSensitivity.R
e9e01e629d51962b4a3a6f383c92bf82 *R/getRawSensitivityMatrix.R
28808c253915d9a19888fd79d275c9ba *R/intersectList.R
16a1b963be3112a94fcb3e53162afcf0 *R/intersectPSets.R
ca94518e49f687096deeffdec2d48421 *R/rankGeneDrugPerturbation.R
6ac68b81ee9da2808bab2786cf9ff490 *R/rankGeneDrugSensitivity.R
0f3bdc10c3959aa52985448c80c2e68c *R/signatureClass.R
c4f8f35fb0cd01e1bf34d6ddc3b1241c *R/intersectList.R
f30cb5ca4574416d3a78b546f3850580 *R/intersectPSets.R
a86f5813c515c44f343075f76075e725 *R/rankGeneDrugPerturbation.R
1ff0f6b7be7c4f1567378582cb8c2543 *R/rankGeneDrugSensitivity.R
73f804d3c52d205ce8e907c43380501a *R/signatureClass.R
10ff014033ae05f596bf73e6be9c40eb *R/stripWhiteSpace.R
d02efaa31147300a9259092e8c427752 *R/summarizeMolecularProfiles.R
011214ef7c9185a89e70b9aa9b511fa3 *R/summarizeSensitivityProfiles.R
1f10ff27e01a7f7ee6fa9f98fd1b06a4 *R/unionList.R
fde01dc759f86d72f9f6c3f297aa633f *R/summarizeSensitivityProfiles.R
ebbf28ba6a590728c1466b2fe8da9754 *R/unionList.R
edcf760dd5ac1afe6aa704ac746b22ec *README
f4466c93c6c882157ffdc765b911f97d *build/vignette.rds
a3c5c8f060c043b2417ffbfc8e48a023 *data/CCLEsmall.rda
f937c61a0ad61ca9fcc4f15d7ecff1d0 *build/vignette.rds
9477ce904c74e105a2d2abd230350cef *data/CCLEsmall.rda
6923fe52a29450152ee9f51bac9d07a4 *data/CMAPsmall.rda
2a649c2d2f177bb68b6bab683ce9348b *data/GDSCsmall.rda
cc3c6f6048c0b30fc225de143c12e001 *data/HDAC_genes.rda
5bc7d378c90d6616d16d0cccca454353 *data/datalist
f407e1c5c77e062f1e565f12ef434fff *inst/CITATION
93207eddf25c7deb002aacc24664c692 *inst/doc/CreatingPharmacoSet.R
7e042f996f7c7fa9c8d508f2d4794e74 *inst/doc/CreatingPharmacoSet.Rnw
86f29b2cd0f746a5a268e8ac535ce184 *inst/doc/CreatingPharmacoSet.pdf
2a0139e4b5d733ac0e0d1719e4614ba1 *inst/doc/PharmacoGx.R
4b32434639f9eefba19ad8233b37be0f *inst/doc/PharmacoGx.Rnw
27cdc5cecf2aeb1a371f5dee37d11927 *inst/doc/PharmacoGx.pdf
ce0ead69148fbe8a31a8af0bf372481b *man/CCLEsmall.Rd
63bc5587bf141b425e6eef540d3ab82f *man/CMAPsmall.Rd
0f33d1bc9a400b38c3824f179671ce9c *man/GDSCsmall.Rd
2db92ae4a4e12104f736e9663cd3cc35 *man/GWC.Rd
c1bc70c5f4159b6621fe3a3dc73dfdbd *man/HDAC_genes.Rd
7bf8e7fa3ea478ad98a78c225a5f4a92 *man/LogLogisticRegression.Rd
766eb70a39413b638c97602313ab89b4 *man/PharmacoSet-class.Rd
b15065dddae50e2dfda837826b1b7538 *man/PharmacoSet.Rd
edf07b4bc09ced37c57cb79602f10c7f *man/availablePSets.Rd
3da26b01d50e2368ce20d91aea64f5a5 *man/cellInfo-set.Rd
82f5b39765546bfd630f0b5b49ff96a7 *man/cellInfo.Rd
41deb6e9f23f53cc21c2cee6b24a74cf *man/cellNames-set.Rd
78a78ec5f21a0d69bf6157da7c0542fe *man/cellNames.Rd
03f699f57ed898dd5dac122700f31b10 *man/checkPSetStructure.Rd
d06eea5e36b83208918ec31c04d4fd91 *man/computeAUC.Rd
ddf0c44480d654d8ada661f379473866 *man/computeIC50.Rd
16024730c8a6f5b29512e15c5ec5ea50 *man/connectivityScore.Rd
cb3208411e95d1d3c3a96f0466fe51aa *man/dateCreated.Rd
ef5f7819219e62d443aaa30a759237d8 *man/downloadPSet.Rd
12f54ab3be27cde8b8ba4d87f2073312 *man/downloadPertSig.Rd
1041663329115e758d45f943045ca64e *man/drugDoseResponseCurve.Rd
6c31820f8a8ae5f5f3d9099f48de2d02 *man/drugInfo-set.Rd
4682d85d183bf373e2519775c0506fd4 *man/drugInfo.Rd
e4542d879d200c0275358f91b90ca77a *man/drugNames-set.Rd
440214ee9770d1c3517013fa952b545a *man/drugNames.Rd
32b38373336aee28f148fb9d07760031 *man/drugPerturbationSig.Rd
817e54e4c02ce5e5df3c85286d0a6bfc *man/drugSensitivitySig.Rd
c7d285717d104f07e893dd5b1da0f166 *man/featureInfo-set.Rd
4dff8be8cbdfe9f1aab579b55b4b73a2 *man/featureInfo.Rd
8bfc66f350cbfa1277380f5eeead03b9 *man/featureNames.Rd
60bc9a3ef18e038ecf69cd32dd56171a *man/intersectList.Rd
8f0aec5f9643f11c4783460a1d9e5a0f *man/intersectPSet.Rd
176e2487c84c10be0dd4e8e828205bac *man/molecularProfiles-set.Rd
a451faed39660a81a120a9fc2c4605e8 *man/molecularProfiles.Rd
fff5f711742cf34676a62827770ee560 *man/pSetName.Rd
130bdcf2faa71804554dc82c734b341c *man/pertNumber-set.Rd
c49271974e84b34b308cbdd4034fe730 *man/pertNumber.Rd
61d3e2177a3b5ecd071a0557a27495d9 *man/phenoInfo-set.Rd
171535c0dfd3393cf71f07b21ea51e22 *man/phenoInfo.Rd
a7ab09b3f118c5ff556bfdee48b9c6eb *man/sensNumber-set.Rd
49cb7391d881d5d7f5f49eacfff92b7d *man/sensNumber.Rd
0aba37e235ed44221a10535c7716f3d7 *man/sensitivityInfo-set.Rd
1b54237eb48abda52cadea8bcbabc741 *man/sensitivityInfo.Rd
ec1808022eec306c5a29545be8c06cb6 *man/sensitivityMeasures.Rd
a63a058c80a2fc634e03fb23459b48b3 *man/sensitivityProfiles-set.Rd
82cbc2b282e85febf7d04522ff6bc133 *man/sensitivityProfiles.Rd
4930a4f1af52f578ef2240e6c4f08df3 *man/show-PharmacoSet-method.Rd
3ef97409b0ae027eb5b8dcb0ff92d42b *man/show-PharmacoSig-method.Rd
ffda236e92b4e0dde23a16c66c61479a *man/showSigAnnot.Rd
cd6b81abd508e8d02d542d2319076202 *man/sub-PharmacoSet-method.Rd
9d55023851d4c3ab1dee6b3cc1c992f4 *man/subsetTo.Rd
52c2e103079578aa870692529a3ec0a4 *man/summarizeMolecularProfiles.Rd
3803b0130c2e7bfef5524d4398bd79a4 *man/summarizeSensitivityProfiles.Rd
457364fbacccbf46552de93a86e7d919 *man/unionList.Rd
65d559d6dc90938e77f94c6feb5c0a45 *inst/doc/CreatingPharmacoSet.pdf
f4a19f0b1dbde2552c4e5ddbe8d1dedc *inst/doc/PharmacoGx.R
02c220c81e32ae240faeb085e9713676 *inst/doc/PharmacoGx.Rnw
decd50dfab108de5f6438e8718ec89b8 *inst/doc/PharmacoGx.pdf
5d05cb8b8ad98c07a88fbb9c3b7efeb3 *man/CCLEsmall.Rd
593d199e90267f2ad0ee545caa136d60 *man/CMAPsmall.Rd
b354507633dc234706a862e70e336bf7 *man/GDSCsmall.Rd
137b2b0a8a6d3c8ea49b720d60e20ca8 *man/HDAC_genes.Rd
d6507705152c3ef298d7b46275fa1b3e *man/LogLogisticRegression.Rd
a1919f8692e63f0f1d2c005c41b41f69 *man/PharmacoSet-class.Rd
b43ad83fa8bf90999a3a1c496e8bbcb9 *man/PharmacoSet.Rd
c576dcfcae8003b83f7a8394cf77e558 *man/availablePSets.Rd
4d4d85490f713b1fa040d78fd4189099 *man/cellInfo-set.Rd
06fb451395ab9d7e204d9098c88bc191 *man/cellInfo.Rd
426fb820d5e1a2d669b6605ae76b1663 *man/cellNames-set.Rd
a8672902d3f16b54d7e1ff4924461859 *man/cellNames.Rd
d6e26a4a5130b9be5f187f2892c9e755 *man/checkPSetStructure.Rd
aee0c7e3922c2700733ca88e54506ff6 *man/computeAUC.Rd
3c32e415a7952a01dda1bb149ca389c6 *man/computeIC50.Rd
e29cf497479f96610cc4385422c8d6a3 *man/connectivityScore.Rd
5abc693166ef311fe751e267d5629b14 *man/dateCreated.Rd
e9c0a0ad555279b8e77cef904890715b *man/downloadPSet.Rd
37851f98ddd211a5e19c0df487e67343 *man/downloadPertSig.Rd
4dd6fd63316ba339b57739ce2f2dee31 *man/drugDoseResponseCurve.Rd
6bcd19a37cc9f98b609e2f417a89c6d1 *man/drugInfo-set.Rd
53414c7ac59d0fd75822e3073a673d41 *man/drugInfo.Rd
a58c6674bdeb5875f5dbf4ab488e1171 *man/drugNames-set.Rd
b5faed031e6225fe7c4150b1d8f9ff7d *man/drugNames.Rd
b1425437fb75281f0cd3bc57166ce41f *man/drugPerturbationSig.Rd
443998e5e13ebd222120a8364b91440b *man/drugSensitivitySig.Rd
40edcf259f13bb8b180985866976fec8 *man/featureInfo-set.Rd
d435657fdde3ca5ea6ae9a7a00942f19 *man/featureInfo.Rd
5bf602a8a475b4a07f107b26da3cfdfa *man/featureNames.Rd
8c366efbbeb017aa2e3468e905c5d2f4 *man/gwc.Rd
58d07070c06462090e137020e536da9e *man/intersectList.Rd
89d90118864f7c059ee128109f25921e *man/intersectPSet.Rd
b51c7c34788d163bd2f23b277f4e89c0 *man/molecularProfiles-set.Rd
79e6aad688e1cbd9caf201a327ecf505 *man/molecularProfiles.Rd
b6a44ae9e5948cf63bf2e984c2971fe0 *man/pSetName.Rd
36f07b3756f4d822e1c073b0c2402360 *man/pertNumber-set.Rd
1cb92bc1c7703befd87adf932d0e6012 *man/pertNumber.Rd
333753dd67b34014bba8642fa3a762c5 *man/phenoInfo-set.Rd
878109b730e0ff2293a0755284f15f44 *man/phenoInfo.Rd
f8f363dc98b62ee813e27d645015bf8e *man/sensNumber-set.Rd
f971bb9d1b767c550d2fe45084440e52 *man/sensNumber.Rd
8d5eee17c66bb989d66c7d06492000d2 *man/sensitivityInfo-set.Rd
fa082e5391c0b2699db46767d39dba8a *man/sensitivityInfo.Rd
b3e07f21ed55c52d96b6ad786bf12e89 *man/sensitivityMeasures.Rd
aab06ec9e19719a96aa981a46da39ac9 *man/sensitivityProfiles-set.Rd
01d6663eaf9dfab86ab7d0866f594a6d *man/sensitivityProfiles.Rd
36e09cf0572e4dee0927f8e403ecf958 *man/show-PharmacoSet-method.Rd
eed4460bc4de948196dbb511e09faae5 *man/show-PharmacoSig-method.Rd
964cc1f6786ac7e42513590e76b669ac *man/showSigAnnot.Rd
36ae06e502d33bc75735256d64261ed3 *man/sub-PharmacoSet-method.Rd
4ce9ad558a681534bb5fbef799f1b2aa *man/subsetTo.Rd
769ff52ee19b279dc2724838dfe9dce0 *man/summarizeMolecularProfiles.Rd
c26bc349fa6deef305d36709be470a89 *man/summarizeSensitivityProfiles.Rd
feb74d7ef4baaea594a1c875b951bebc *man/unionList.Rd
59af8835692df3a4717f32869615bbca *vignettes/CreatingPharmacoSet-concordance.tex
7e042f996f7c7fa9c8d508f2d4794e74 *vignettes/CreatingPharmacoSet.Rnw
31bd0238b7785475cfebdcaeaf8cda37 *vignettes/CreatingPharmacoSet.tex
4b32434639f9eefba19ad8233b37be0f *vignettes/PharmacoGx.Rnw
02c220c81e32ae240faeb085e9713676 *vignettes/PharmacoGx.Rnw
0a1c145a5ef73983dbbf130e0ced5379 *vignettes/biblio.bib
b62b07b83dd4f275fd9eab4e7e9bd0fc *vignettes/pharmacogx.bib
3 changes: 2 additions & 1 deletion NAMESPACE
@@ -1,4 +1,4 @@
# Generated by roxygen2 (4.1.1): do not edit by hand
# Generated by roxygen2: do not edit by hand

export(PharmacoSet)
export(availablePSets)
Expand Down Expand Up @@ -67,6 +67,7 @@ importFrom(graphics,par)
importFrom(graphics,plot)
importFrom(graphics,points)
importFrom(graphics,rect)
importFrom(magicaxis,magaxis)
importFrom(piano,loadGSC)
importFrom(piano,runGSA)
importFrom(stats,anova)
Expand Down
35 changes: 22 additions & 13 deletions R/GWC.R
Expand Up @@ -4,21 +4,30 @@
########################

#################################################
#' Calculate the gwc score between two vectors, using either a weighted spearman or pearson correlation
#'Calculate the gwc score between two vectors, using either a weighted spearman or pearson correlation
#'
#' @param x1 \code{numeric} vector of effect sizes (e.g., fold change or t statitsics) for the first experiment
#' @param p1 \code{numeric} vector of p-values for each corresponding effect size for the first experiment
#' @param x2 \code{numeric} effect size (e.g., fold change or t statitsics) for the second experiment
#' @param p2 \code{numeric} vector of p-values for each corresponding effect size for the second experiment
#' @param nperm \code{numeric} how many permutations should be done to determine
#' @param method.cor \code{character} string identifying if a \code{pearson} or
#' \code{spearman} correlation should be used
#' @param ... Other passed down to internal functions
#'@examples
#'data(CCLEsmall)
#'x <- molecularProfiles(CCLEsmall,"rna")[,1]
#'y <- molecularProfiles(CCLEsmall,"rna")[,2]
#'x_p <- rep(0.05, times=length(x))
#'y_p <- rep(0.05, times=length(y))
#'names(x_p) <- names(x)
#'names(y_p) <- names(y)
#'gwc(x,x_p,y,y_p, nperm=100)
#'
#' @return \code{numeric} a vector of two values, the correlation and associated p-value.
#'
#' @export
## -
#'@param x1 \code{numeric} vector of effect sizes (e.g., fold change or t statitsics) for the first experiment
#'@param p1 \code{numeric} vector of p-values for each corresponding effect size for the first experiment
#'@param x2 \code{numeric} effect size (e.g., fold change or t statitsics) for the second experiment
#'@param p2 \code{numeric} vector of p-values for each corresponding effect size for the second experiment
#'@param nperm \code{numeric} how many permutations should be done to determine
#'@param method.cor \code{character} string identifying if a \code{pearson} or
#'\code{spearman} correlation should be used
#'@param ... Other passed down to internal functions
#'
#'@return \code{numeric} a vector of two values, the correlation and associated p-value.
#'@export
## -
##
## http://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient#Calculating_a_weighted_correlation
## http://www.mathworks.com/matlabcentral/fileexchange/20846-weighted-correlation-matrix
Expand Down

0 comments on commit 4e4f1e9

Please sign in to comment.