Subgraph or induce subgraph by sampling the random nodes of given degree sequence

Can I generate induced subgraph or subgraph from a graph by sampling the random nodes of the given degree sequence in igraph ®?

It is not at all clear what you mean. Please expand on the question, and include an example that illustrates what you are trying to do.

Also tag the post with the language that you want to use igraph from.

Agree clarification is needed. In particular, if you want a random subgraph, why not just sample the nodes randomly? What do you mean by sampling nodes of the degree sequence?

Yes, sampling nodes of the degree sequence. For example, I want to sample 10 nodes with degree 2, 3,4,5,7,3,6,9,12,35 from a graph.