/span><span class='fu'><a href='https://satijalab.org/seurat/reference/AddMetaData.html'>AddMetaData</a></span><span class='op'>(</span><span class='va'>pbmc</span>, metadata<span class='op'>=</span><span class='va'>celltypes</span><span class='op'>$</span><span class='va'>CellTypes_novel</span>, col.name <span class='op'>=</span> <span class='st'>"immmune"</span><span class='op'>)</span>
<span class='va'>pbmc</span> <span class='op'>&lt;-</span> <span class='fu'>Seurat</span><span class='fu'>::</span><span