MuSiC icon indicating copy to clipboard operation
MuSiC copied to clipboard

music_prop.cluster

Open mhimanshu11 opened this issue 4 years ago • 3 comments

Hi, I am running the code which are available on Tutorial but somehow I am getting the following error, when I run music_prop.cluster

Est.mouse.bulk = music_prop.cluster(bulk.eset = Mouse.bulk.eset, sc.eset = Mousesub.eset, group.markers = Immune.marker, group = 'clusterType', clusters = 'cellType', samples = 'sampleID', clusters.type = clusters.type)

Error in music_prop.cluster(bulk.eset = Mouse.bulk.eset, sc.eset = Mousesub.eset, : Cluster number is not matching!

mhimanshu11 avatar Mar 29 '20 18:03 mhimanshu11

In Xuran`s tutorial, IEmarkers represents a list of Immune cell and Epith cell marker, you need to create a list object including Epith.marker and Immune.marker which download from the last file of this page "https://xuranw.github.io/MuSiC/articles/pages/data.html" , An IEmarkers.RData. After you create a list object that i mentioned above, you should name the list , Epith.marker "C3", Immune.marker "C4", Then, you need to edit "clusters.type", and remove "C1", and "C2“ form list object "clusters.type" .

tpx888 avatar Apr 09 '20 13:04 tpx888

After I create a list object and name the list , Epith.marker "C3", Immune.marker "C4", Then, I also edit "clusters.type", and remove "C1", and "C2“ form list object "clusters.type" . when I run music_prop.cluster, I meet the follow error:

Error in if (sum(abs(p.weight.new - p.weight)) < eps) { : missing value where TRUE/FALSE needed

Jason-bot-stack avatar Aug 17 '20 01:08 Jason-bot-stack

same issues

woshiyangsi avatar Jul 21 '21 01:07 woshiyangsi