Created
April 7, 2014 12:44
-
-
Save klmr/10019620 to your computer and use it in GitHub Desktop.
Reproducible name clash with R packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reproduce a name clash with packages | |
# R 3.0.2 | |
library(DESeq) # 1.14.0 | |
x = do.call(rbind, rep(list(read.table(text='1 2\n3 4')), 10)) | |
m = c('V1', 'V2') | |
cds = estimateSizeFactors(newCountDataSet(x, m)) | |
cds1 = estimateDispersions(cds, method='blind', fitType='local') | |
lp = function () 42 | |
cds2 = estimateDispersions(cds, method='blind', fitType='local') | |
# Error in lp(c(…, : | |
# unused argument (c(…)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment