Entering edit mode
4.4 years ago
sidrah.maryam
▴
60
I am trying to run cicero on scATAC data, and while loading the data I am getting this error:
Error: CellDataSet 'phenoData' is class 'data.frame' but should be or extend 'AnnotatedDataFrame'
where the command was:
input_cds <- suppressWarnings(newCellDataSet(indata, + featureData = peakinfo, + phenoData = cellinfo, lowerDetectionLimit = 0.1, expressionFamily = VGAM::negbinomial.size()))
cellinfo- barcodes.tsv, peakinfo - peak.bed, indata - matrix.mtx
Please suggest what could be done.
Hi,
Did you run?
And then give this
pd
variable to thephenoData
option. The new function will coerce thecellinfo
data.frame toAnnotatedDataFrame
class.António