From f2d5d0583e00167878e8d15ae02a016b423b9f3b Mon Sep 17 00:00:00 2001 From: Ryan Corces Date: Fri, 6 May 2022 11:49:21 -0700 Subject: [PATCH] Add message to point to Vierstra website https://github.com/GreenleafLab/ArchR/discussions/1364#discussioncomment-2700224 --- R/AnnotationPeaks.R | 2 ++ 1 file changed, 2 insertions(+) diff --git a/R/AnnotationPeaks.R b/R/AnnotationPeaks.R index b969532d..2e13ff91 100644 --- a/R/AnnotationPeaks.R +++ b/R/AnnotationPeaks.R @@ -448,8 +448,10 @@ addMotifAnnotations <- function( }else if(tolower(motifSet)=="vierstra"){ if(tolower(collection)=="individual"){ url = "https://jeffgranja.s3.amazonaws.com/ArchR/Annotations/Vierstra_Individual_Motifs.rds" + message("Using Vierstra v1.0 motifs. See https://www.vierstra.org/resources/motif_clustering for more details.") } else if(tolower(collection == "archetype")){ url = "https://jeffgranja.s3.amazonaws.com/ArchR/Annotations/Vierstra_Archetype_Motifs_v2.1.rds" + message("Using Vierstra v2.1beta motifs. See https://resources.altius.org/~jvierstra/projects/motif-clustering-v2.1beta/ for more details.") } else { stop(paste0("Error! collection ", collection, " not recognized for motifSet ",motifSet, ". Accepted values are 'individual' and 'archetype'"))