col2rowname.Rd
Assign column entries in data.frame to row names.
col2rowname(df, col)
data.frame
Character specifying column name in df.
df
f.mat <-aggGroupExpression(
so = so.query,
which.data = "data",
which.assay = DefaultAssay(so.query),
which.center = "fraction",
which.group = "seurat_clusters",
do.parallel = F
)
#> Error in DefaultAssay(so.query): object 'so.query' not found
f.mat <- col2rowname(f.mat, col = "genes")
#> Error in as.data.frame(df): object 'f.mat' not found