-
Notifications
You must be signed in to change notification settings - Fork 100
Description
Thanks a lot for developing this package. I am trying the development version following your online tutorial. I got an error message "Error: 'slot' must be one of counts, data, scale.data" when running SetAssayData().
=== Here is the code I use, start ===
motif.positions <- matchMotifs(
pwms = pwm,
subject = StringToGRanges(rownames(signac.object), sep = c(":", "-")),
out = 'positions',
genome = 'hg38'
)
motif <- CreateMotifObject(
positions = motif.positions,
pwm = pwm
)
signac.object <- SetAssayData(
object = signac.object,
slot = 'motifs',
new.data = motif
)
=== Here is my code, end ===
There is no error using matchMotifs() or CreateMotifObject() function. But I cannot pass the SetAssayData() function. Could you help to solve this problem? Thank you so much!