[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] degree.sequence.game
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] degree.sequence.game |
Date: |
Wed, 2 Jul 2014 16:47:07 +0200 |
Hi,
Just assign the names from the old network to the new one:
V(new.graph)$name <- V(old.graph)$name
--
T.
------------------------------------------------------
From: Qunawei Zhang address@hidden
Reply: Help for igraph users address@hidden
Date: 2 July 2014 at 15:50:19
To: Help for igraph users address@hidden
Subject: [igraph] degree.sequence.game
> Hello:
>
> I have a network and a list of genes that we are interested in. I need to
> generate some random networks (keep the degree of those genes) and compare
> characteristics of my genes in the original network and random network.
> I used the degree.sequence.game to generate random networks and save the
> random networks by write.graph. But the random networks are saved by ids. Is
> it possible to save the random networks by node names as those in the
> original network.
>
> Thanks
>
> Best
> Quanwei
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>