Monocle3/cicero - data loading in R
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.
• 1,303 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hi,
Did you run?
And then give this
pdvariable to thephenoDataoption. The new function will coerce thecellinfodata.frame toAnnotatedDataFrameclass.António