JEFworks-Lab / HoneyBADGER

HMM-integrated Bayesian approach for detecting CNV and LOH events from single-cell RNA-seq data
http://jef.works/HoneyBADGER/
GNU General Public License v3.0
96 stars 31 forks source link

Package exports object named ref #7

Closed barkasn closed 6 years ago

barkasn commented 6 years ago

To reproduce:

ref <- c(1) library(HoneyBadger)

Attaching package: ‘HoneyBADGER’

The following object is masked by ‘.GlobalEnv’:

ref
JEFworks commented 6 years ago

Correct. There is a data object named ref

From data.R

#' Gene expression reference using normal cells from MGH31 from Patel et al.
#' 
#' @source \url{https://www.ncbi.nlm.nih.gov/pubmed/24925914}
"ref"
barkasn commented 6 years ago

It seems like a simple identifier that users may have in their environment already. Perhaps you want to rename it or ensure it is exported only when data(ref) is called?

JEFworks commented 6 years ago

Hum, the intended behavior is to only load ref when data(ref) is called. Will fix.